widget_customizer_setting_args

widget_customizer_setting_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('widget_customizer_setting_args') is found 1 times:

  • /wp-includes/class-wp-customize-widgets.php line 1024
    		 *
    		 * @param array  $args Array of Customizer setting arguments.
    		 * @param string $id   Widget setting ID.
    		 */
    		return apply_filters( 'widget_customizer_setting_args', $args, $id );
    	}
    
    	/**
    	 * Ensures sidebar widget arrays only ever contain widget IDS.
    	 *
    	 * Used as the 'sanitize_callback' for each $sidebars_widgets setting.
    

See this hook used in plugins: