Skip to content

Commit e06a5d6

Browse files
author
Yoav Kadosh
committed
Updated readme to reflect API changes
1 parent be830d6 commit e06a5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ This function will either print the compiled version of the stylesheet to the do
226226
*Set the value retrieval callback function*
227227

228228
```php
229-
wp_dynamic_css_set_callback( $handle, $callback )
229+
function wp_dynamic_css_set_callback( $handle, $callback )
230230
```
231231

232232
Set a callback function that will be used to convert variables to actual values. The registered function will be used when the dynamic CSS file that is associated with the name in `$handle` is compiled. The callback function accepts 1 parameter which is the name of the variable, without the $ sign.

0 commit comments

Comments
 (0)