apply_filters( 'load_default_widgets', bool $wp_maybe_load_widgets )

Filters whether to load the Widgets library.

Description Description

Returning a falsey value from the filter will effectively short-circuit the Widgets library from loading.

Top ↑

Parameters Parameters


(bool) Whether to load the Widgets library. Default true.

Top ↑

Source Source

File: wp-includes/functions.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.