WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about load_default_widgets

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/functions.php apply_filters 5235 /**
* Filters whether to load the Widgets library.
*
* Returning a falsey value from the filter will effectively short-circuit
* the Widgets library from loading.
*
* @since 2.8.0
*
* @param bool $wp_maybe_load_widgets Whether to load the Widgets library.
* Default true.
*/

Hook Parameters

Parameter Type Name Description
bool $wp_maybe_load_widgets Whether to load the Widgets library.