wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
site_status_tests › Hooks de Filtros WordPress
Desde5.6.0
Obsoleton/a
› apply_filters( 'site_status_tests', $tests )
Parâmetros: |
|
Definido em: |
|
Codex: |
Filters which site status tests are run on a site.
The site health is determined by a set of tests based on best practices from both the WordPress Hosting Team and web standards in general.
Some sites may not have the same requirements, for example the automatic update checks may be handled by a host, and are therefore disabled in core. Or maybe you want to introduce a new test, is caching enabled/disabled/stale for example.
Tests may be added either as direct, or asynchronous ones. Any test that may require some time to complete should run asynchronously, to avoid extended loading periods within wp-admin.
Funções relacionadas: get_page_statuses, _post_states, get_sitestats, get_post_statuses, post_comment_status_meta_box, wp_sanitize_script_attributes
Hooks relacionados: site_status_test_result, site_status_test_php_modules, display_site_states, use_streams_transport, site_icon_meta_tags