W3cubDocs

/WordPress

apply_filters( ‘wp_autoload_values_to_autoload’, string[] $autoload_values )

Filters the autoload values that should be considered for autoloading from the options table.

Description

The filter can only be used to remove autoload values from the default list.

Parameters

$autoload_valuesstring[]
Autoload values used to autoload option.
Default list contains 'yes', 'on', 'auto-on', and 'auto'.

Source

$filtered_values = apply_filters( 'wp_autoload_values_to_autoload', $autoload_values );

Changelog

Version Description
6.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_autoload_values_to_autoload