2756*2757* @since 5.5.02758*2759* @param bool$will_invalidate Whether WordPress will invalidate `$filepath`.Defaulttrue.2760* @param string$filepath The path to the PHP file to invalidate.2761*/2762if(apply_filters('wp_opcache_invalidate_file',true,$filepath)){2763returnopcache_invalidate($filepath,$force);2764}27652766returnfalse;2767}2768
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.