Fires when an ability is invoked, before any processing takes place.
Description
This action fires for every call regardless of outcome (validation failure, permission denial, short-circuit, or successful execution), and before input normalization so the raw input is captured as-is.
Parameters
$ability_namestring
The name of the ability.
$inputmixed
The raw input data for the ability, before normalization.
777* @since 7.1.0778*779* @param string$ability_name The name of the ability.780* @param mixed$input The raw input data for the ability, before normalization.781* @param WP_Ability$ability The ability instance.782*/783do_action('wp_ability_invoked',$this->name,$input,$this);784785$pre_execute_sentinel=newWP_Filter_Sentinel();786787/**788* Filters whether to short-circuit ability execution.789*
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.