wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_ability_validate_output › Hooks de Filtros WordPress
Desde7.1.0
Obsoleton/a
› apply_filters( 'wp_ability_validate_output', $is_valid, $output, $this->name )
| Parâmetros: (3) |
|
| Definido em: | |
| Codex: |
Filters the output validation result for an ability.
Allows developers to add custom validation logic on top of the default JSON Schema validation. If default validation already failed, the filter receives the WP_Error object and can add additional error information or override it. If default validation passed, the filter can add additional validation checks and return a WP_Error if those checks fail.Funções relacionadas: wp_http_validate_url, wp_get_ability_category, wp_has_ability_category, wp_is_local_html_output, wp_validate_site_data, wp_get_ability_categories