wp_default_styles WordPress Action Hook

This hook is called when Wordpress initializes its default styles. It allows for custom stylesheets to be loaded into the theme. This is useful for customizing the look and feel of your Wordpress site.

do_action_ref_array( 'wp_default_styles', WP_Styles $wp_styles ) #

Fires when the WP_Styles instance is initialized.


Parameters

$wp_styles

(WP_Styles)WP_Styles instance (passed by reference).


Top ↑

Source

File: wp-includes/class.wp-styles.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.