WPDev.one
Core Function
View Source on Trac ↗

wp_opcache_invalidate_directory()

wp_opcache_invalidate_directory( mixed $dir )

Attempts to clear the opcode cache for a directory of files.

Parameters 1 required

Name / Type Description
$dir
string

The path to the directory for which the opcode cache is to be cleared.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.2.0
Source File
wp-admin/includes/file.php
Advertisement