Description
Allows to determine the default autoload value for an option where no explicit value is passed.
Occurrences
Filename | Line Number |
---|---|
wp-includes/option.php | 1301 |
Parameters
Type | Name | Description |
---|---|---|
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'. |
string | $option | The passed option name. |
mixed | $value | The passed option value to be saved. |
PHP Doc
/**
* Allows to determine the default autoload value for an option where no explicit value is passed.
*
* @since 6.6.0
*
* @param 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'.
* @param string $option The passed option name.
* @param mixed $value The passed option value to be saved.
*/