wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_opcache_invalidate_file › Les Filtres WordPress

Depuis5.5.0
Dépréciéen/a
apply_filters( 'wp_opcache_invalidate_file', true, $filepath )
Paramètres: (2)
  • (bool) $will_invalidate Whether WordPress will invalidate `$filepath`. Default true.
    Requis: Oui
  • (string) $filepath The path to the PHP file to invalidate.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to invalidate a file from the opcode cache.





Source

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