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



rest_send_nocache_headers › Les Filtres WordPress

Depuis6.3.2
Dépréciéen/a
› apply_filters( 'rest_send_nocache_headers', is_user_logged_in()
Paramètres:
  • () rest_send_nocache_headers Whether to send no-cache headers.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to send no-cache headers on a REST API request.





Source

$send_no_cache_headers = apply_filters( 'rest_send_nocache_headers', is_user_logged_in() );