apply_filters( "site_health_test_rest_capability_{$check}", string $default_capability, string $check )

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


Parameters

$default_capability

(string) The default capability required for this check.

$check

(string) The Site Health check being performed.


Top ↑

Source

File: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php

View on Trac



Top ↑

Changelog

Changelog
Version Description
5.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.