Filter hook 'wp_autoload_values_to_autoload'

in WP Core File wp-includes/option.php at line 3166

Description

Filters the autoload values that should be considered for autoloading from the options table. The filter can only be used to remove autoload values from the default list.

Occurrences

Filename Line Number
wp-includes/option.php 3166

Parameters

Type Name Description
string[] $autoload_values Autoload values used to autoload option. Default list contains 'yes', 'on', 'auto-on', and 'auto'.

PHP Doc

/**
	 * Filters the autoload values that should be considered for autoloading from the options table.
	 *
	 * The filter can only be used to remove autoload values from the default list.
	 *
	 * @since 6.6.0
	 *
	 * @param string[] $autoload_values Autoload values used to autoload option.
	 *                               Default list contains 'yes', 'on', 'auto-on', and 'auto'.
	 */