wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_opcache_invalidate_file › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'wp_opcache_invalidate_file', true, $filepath )
Parametry: (2)
  • (bool) $will_invalidate Whether WordPress will invalidate `$filepath`. Default true.
    Wymagane: Tak
  • (string) $filepath The path to the PHP file to invalidate.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether to invalidate a file from the opcode cache.





Źródło

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