register_sidebar_defaults

register_sidebar_defaults

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('register_sidebar_defaults') is found 1 times:

  • /wp-includes/widgets.php line 300
    	 * @see register_sidebar()
    	 *
    	 * @param array $defaults The default sidebar arguments.
    	 */
    	$sidebar = wp_parse_args( $args, apply_filters( 'register_sidebar_defaults', $defaults ) );
    
    	if ( $id_is_empty ) {
    		_doing_it_wrong(
    			__FUNCTION__,
    			sprintf(
    				/* translators: 1: The 'id' argument, 2: Sidebar name, 3: Recommended 'id' value. */