wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



site_health_test_rest_capability_{$check} › WordPress Filter Hooks

Seit5.6.0
Veraltetn/v
apply_filters( "site_health_test_rest_capability_{$check}", $default_capability, $check )
Parameter: (2)
  • (string) $default_capability The default capability required for this check.
    Erforderlich: Ja
  • (string) $check The Site Health check being performed.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the capability needed to run a given Site Health check.



Ähnliche Funktionen: get_post_type_capabilities


Quellcode

$capability = apply_filters( "site_health_test_rest_capability_{$check}", $default_capability, $check );