Whats the difference between blog_info(‘stylesheet_url’) difference get_stylesheet_uri()

The question is in the title really. What is the difference between blog_info(‘stylesheet_url’) difference get_stylesheet_uri(), and if it’s a case that one is newer then which.

The codex says:

‘stylesheet_url’ – Returns the primary CSS (usually style.css) file URL of the active theme. Consider using get_stylesheet_uri() instead.

1 Answer
1

Actually bloginfo( 'stylesheet_url ) uses get_stylesheet_uri() function, so there is no difference. get_stylesheet_uri() is newer

Leave a Comment