2744*2745* @since 5.5.02746*2747* @param bool$will_invalidate Whether WordPress will invalidate `$filepath`.Defaulttrue.2748* @param string$filepath The path to the PHP file to invalidate.2749*/2750if(apply_filters('wp_opcache_invalidate_file',true,$filepath)){2751returnopcache_invalidate($filepath,$force);2752}27532754returnfalse;2755}2756
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.