wphooks.info - sidebars_widgets

sidebars_widgets

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/widgets.php:
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
		unset( $sidebars_widgets['array_version'] );
	}

	/**
	 * Filters the list of sidebars and their widgets.
	 *
	 * @since 2.7.0
	 *
	 * @param array $sidebars_widgets An associative array of sidebars and their widgets.
	 */
	return apply_filters( 'sidebars_widgets', $sidebars_widgets );
}

/**
 * Set the sidebar widget option to update sidebars.
 *
 * @since 2.2.0
 * @access private
 *
 * @global array $_wp_sidebars_widgets