wp_default_styles action-hook . WP 2.6.0
Fires when the WP_Styles instance is initialized.
Usage
add_action( 'wp_default_styles', 'action_function_name_3949' ); function action_function_name_3949( $this ){ // action... }
- $this(WP_Styles)
- WP_Styles instance (passed by reference).
Changelog
Since 2.6.0 | Introduced. |
Where the hook is called
wp_default_styles
wp-includes/class.wp-styles.php 135
do_action_ref_array( 'wp_default_styles', array( &$this ) );
Where in WP core the hook is used WordPress
wp-includes/class.wp-styles.php 530
add_action( 'wp_default_styles', 'wp_default_styles' );