register_sidebar_defaults WordPress Filter Hook
The register_sidebar_defaults hook allows you to change the default values for the fields in the sidebar registration form. This can be useful if you want to change the default values for all sidebars or if you want to change the default values for a specific sidebar.
apply_filters( 'register_sidebar_defaults', array $defaults ) #
Filters the sidebar default arguments.
Description
See also
Parameters
- $defaults
(array)The default sidebar arguments.
Source
File: wp-includes/widgets.php
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |