Skip to content

Commit e96cfca

Browse files
author
Yoav Kadosh
committed
Update README.md
1 parent bca5c31 commit e96cfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ function my_dynamic_css_callback( $var_name )
4141
}
4242
wp_dynamic_css_set_callback( 'my_dynamic_css_callback' );
4343

44-
// 3. Enqueue the stylesheet
45-
wp_dynamic_css_enqueue( 'my-style.css' );
44+
// 3. Enqueue the stylesheet (using an absolute path, not URL)
45+
wp_dynamic_css_enqueue( 'path/to/my-style.css' );
4646

4747
// 4. Nope, only three steps
4848
```

0 commit comments

Comments
 (0)