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

(bool) Whether WordPress will invalidate $filepath. Default true.

$filepath

(string) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.