wpseek.com
A WordPress-centric search engine for devs and theme authors



site_health_test_rest_capability_{$check} › WordPress Filter Hooks

Since5.6.0
Deprecatedn/a
apply_filters( "site_health_test_rest_capability_{$check}", $default_capability, $check )
Parameters: (2)
  • (string) $default_capability The default capability required for this check.
    Required: Yes
  • (string) $check The Site Health check being performed.
    Required: Yes
Defined at:
Codex:

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



Related Functions: get_post_type_capabilities


Source

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