WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about style_loader_tag

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-styles.php apply_filters 251 /**
* Filters the HTML link tag of an enqueued style.
*
* @since 2.6.0
* @since 4.3.0 Introduced the `$href` parameter.
* @since 4.5.0 Introduced the `$media` parameter.
*
* @param string $tag The link tag for the enqueued style.
* @param string $handle The style's registered handle.
* @param string $href The stylesheet's source URL.
* @param string $media The stylesheet's media attribute.
*/
wp-includes/class-wp-styles.php apply_filters 272 /**
* Filters the HTML link tag of an enqueued style.
*
* @since 2.6.0
* @since 4.3.0 Introduced the `$href` parameter.
* @since 4.5.0 Introduced the `$media` parameter.
*
* @param string $tag The link tag for the enqueued style.
* @param string $handle The style's registered handle.
* @param string $href The stylesheet's source URL.
* @param string $media The stylesheet's media attribute.
*/

Hook Parameters

Parameter Type Name Description
string $tag The link tag for the enqueued style.
string $handle The style's registered handle.
string $href The stylesheet's source URL.
string $media The stylesheet's media attribute.
string $tag The link tag for the enqueued style.
string $handle The style's registered handle.
string $href The stylesheet's source URL.
string $media The stylesheet's media attribute.