Allows to determine the default autoload value for an option where no explicit value is passed.
Parameters
$autoload
bool|null- The default autoload value to set. Returning true will be set as
'auto-on'
in the database, false will be set as'auto-off'
, and null will be set as'auto'
. $option
string- The passed option name.
$value
mixed- The passed option value to be saved.
Source
$autoload = apply_filters( 'wp_default_autoload_value', null, $option, $value, $serialized_value );
Changelog
Version | Description |
---|---|
6.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.