wp_opcache_invalidate_file, true, $filepath

wp_opcache_invalidate_file, true, $filepath

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('wp_opcache_invalidate_file, true, $filepath') is found 1 times:

  • /wp-admin/includes/file.php line 2762
    	 *
    	 * @param bool   $will_invalidate Whether WordPress will invalidate `$filepath`. Default true.
    	 * @param string $filepath        The path to the PHP file to invalidate.
    	 */
    	if ( apply_filters( 'wp_opcache_invalidate_file', true, $filepath ) ) {
    		return opcache_invalidate( $filepath, $force );
    	}
    
    	return false;
    }