wp_opcache_invalidate_file

Advertisement

Summery Summery

Filters whether to invalidate a file from the opcode cache.

Syntax Syntax

apply_filters( 'wp_opcache_invalidate_file', bool $will_invalidate, string $filepath )

Parameters Parameters

$will_invalidate

Whether WordPress will invalidate $filepath. Default true.

$filepath

The path to the PHP file to invalidate.

Source Source

File: wp-admin/includes/file.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply