Filters whether to invalidate a file from the opcode cache.
$will_invalidatebool
$filepath. Default true.$filepathstring
if ( apply_filters( 'wp_opcache_invalidate_file', true, $filepath ) ) {
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_opcache_invalidate_file