wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_default_autoload_value › WordPress Filter Hooks

Since6.6.0
Deprecatedn/a
apply_filters( 'wp_default_autoload_value', null, $option, $value, $serialized_value )
Parameters: (3)
  • (bool|null) $autoload 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'.
    Required: Yes
  • (string) $option The passed option name.
    Required: Yes
  • (mixed) $value The passed option value to be saved.
    Required: Yes
Defined at:
Codex:

Allows to determine the default autoload value for an option where no explicit value is passed.





Source

$autoload = apply_filters( 'wp_default_autoload_value', null, $option, $value, $serialized_value );