wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_ability_normalize_input › WordPress Filter Hooks
Da7.1.0
Deprecaton/a
› apply_filters( 'wp_ability_normalize_input', $input, $this->name, $this )
| Parametri: (3) |
|
| Definito a: | |
| Codex: |
Filters the normalized input for an ability.
Fires after `normalize_input()` has applied any default value declared in the input schema, giving plugins a chance to adjust the input before it is consumed downstream. Common uses include defaulting beyond what JSON Schema can express, prompt enrichment, and injecting caller metadata. Returning a `WP_Error` causes callers that propagate it (such as `execute()`) to halt before validation, permission checks, and the registered execute callback.Funzioni correlate: wp_normalize_path, wp_initialize_site, wp_localize_script, wp_normalize_site_data, wp_kses_normalize_entities, wp_privacy_anonymize_ip