wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_opcache_invalidate_file › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
apply_filters( 'wp_opcache_invalidate_file', true, $filepath )
Parâmetros: (2)
  • (bool) $will_invalidate Whether WordPress will invalidate `$filepath`. Default true.
    Required: Yes
  • (string) $filepath The path to the PHP file to invalidate.
    Required: Yes
Definido em:
Codex:

Filters whether to invalidate a file from the opcode cache.





Fonte

if ( apply_filters( 'wp_opcache_invalidate_file', true, $filepath ) ) {