wp_autoload_values_to_autoload

wp_autoload_values_to_autoload

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('wp_autoload_values_to_autoload') is found 1 times:

  • /wp-includes/option.php line 3237

    Warning: Undefined array key 3240 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 3241 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 3242 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    3233
    3234
    3235
    3236
    3237
    3238
    3239
    3240
         *
         * @param string[] $autoload_values Autoload values used to autoload option.
         *                               Default list contains 'yes', 'on', 'auto-on', and 'auto'.
         */
        $filtered_values = apply_filters( 'wp_autoload_values_to_autoload', $autoload_values );
     
        return array_intersect( $filtered_values, $autoload_values );
    }