wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
wp_ability_validate_input › Filtr WordPress Hooks
Od7.1.0
Przestarzałyn/a
› apply_filters( 'wp_ability_validate_input', $is_valid, $input, $this->name )
| Parametry: (3) |
|
| Zdefiniowane na: | |
| Codex: |
Filters the input 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.Powiązane Funkcje: wp_http_validate_url, wp_validate_redirect, wp_validate_site_data, rest_validate_enum, wp_get_ability_categories, wp_initialize_site