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.
502* @since 7.1.0503*504* @param mixed$input The normalized input data.505* @param string$ability_name The name of the ability.506* @param WP_Ability$ability The ability instance.507*/508returnapply_filters('wp_ability_normalize_input',$input,$this->name,$this);509}510511/**512* Validates input data against the input schema.513*514* @since 6.9.0
History
Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.