Allows to determine the default autoload value for an option where no explicit value is passed.
$autoloadbool|null
'auto-on' in the database, false will be set as 'auto-off', and null will be set as 'auto'.$optionstring
$valuemixed
$autoload = apply_filters( 'wp_default_autoload_value', null, $option, $value, $serialized_value );
| Version | Description |
|---|---|
| 6.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_default_autoload_value