wp_autoload_values_to_autoload

wp_autoload_values_to_autoload

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6.1

apply_filters('wp_autoload_values_to_autoload') is found 1 times:

  • /wp-includes/option.php line 3166

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

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

    Warning: Undefined array key 3171 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 );
    }