wp_autoload_values_to_autoload

wp_autoload_values_to_autoload

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_autoload_values_to_autoload') is found 1 times:

  • /wp-includes/option.php line 3200

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

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

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

    	 *
    	 * @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 );
    }