$src is optional and only needs to be specified if you didn’t do so in the wp_register_style() function.Īs a result, it’s possible to use the wp_enqueue_style() function without using the wp_register_style() first. This can be a relative file path to a stylesheet in the WordPress theme or plugin directory or an absolute URL to a stylesheet hosted elsewhere.
0 Comments
Leave a Reply. |