wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_default_autoload_value › WordPress Filter Hooks

Seit6.6.0
Veraltetn/v
apply_filters( 'wp_default_autoload_value', null, $option, $value, $serialized_value )
Parameter: (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'.
    Erforderlich: Ja
  • (string) $option The passed option name.
    Erforderlich: Ja
  • (mixed) $value The passed option value to be saved.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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