@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | * @copyright 2016 Askupa Software |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -if( !function_exists('wp_dynamic_css_enqueue') ) |
|
| 10 | +if (!function_exists('wp_dynamic_css_enqueue')) |
|
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | 13 | * Enqueue a dynamic stylesheet |
@@ -21,14 +21,14 @@ discard block |
||
| 21 | 21 | * @paran boolean $print Whether to print the compiled CSS to the document |
| 22 | 22 | * head, or include it as an external CSS file |
| 23 | 23 | */ |
| 24 | - function wp_dynamic_css_enqueue( $handle, $path, $print = true ) |
|
| 24 | + function wp_dynamic_css_enqueue($handle, $path, $print = true) |
|
| 25 | 25 | { |
| 26 | 26 | $dcss = DynamicCSSCompiler::get_instance(); |
| 27 | - $dcss->enqueue_style( $handle, $path, $print ); |
|
| 27 | + $dcss->enqueue_style($handle, $path, $print); |
|
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | -if( !function_exists('wp_dynamic_css_set_callback') ) |
|
| 31 | +if (!function_exists('wp_dynamic_css_set_callback')) |
|
| 32 | 32 | { |
| 33 | 33 | /** |
| 34 | 34 | * Set the value retrieval callback function |
@@ -43,9 +43,9 @@ discard block |
||
| 43 | 43 | * can either be a reference to a function name or method within an |
| 44 | 44 | * class/object. |
| 45 | 45 | */ |
| 46 | - function wp_dynamic_css_set_callback( $handle, $callback ) |
|
| 46 | + function wp_dynamic_css_set_callback($handle, $callback) |
|
| 47 | 47 | { |
| 48 | 48 | $dcss = DynamicCSSCompiler::get_instance(); |
| 49 | - $dcss->register_callback( $handle, $callback ); |
|
| 49 | + $dcss->register_callback($handle, $callback); |
|
| 50 | 50 | } |
| 51 | 51 | } |