Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/file.php | apply_filters | 2553 | /** * Filters whether to invalidate a file from the opcode cache. * * @since 5.5.0 * * @param bool $will_invalidate Whether WordPress will invalidate `$filepath`. Default true. * @param string $filepath The path to the PHP file to invalidate. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $will_invalidate | Whether WordPress will invalidate `$filepath`. Default true. |
string | $filepath | The path to the PHP file to invalidate. |