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

In this article

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

VersionDescription
6.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.