Fires before an ability gets executed, after input validation and permissions check.
$ability_namestring$inputmixedwp-includes/abilities-api/class-wp-ability.php:631WP_Ability::execute() * * @since 6.9.0 * * @param string $ability_name The name of the ability. * @param mixed $input The input data for the ability. */ do_action( 'wp_before_execute_ability', $this->name, $input ); $result = $this->do_execute( $input ); if ( is_wp_error( $result ) ) { return $result; }Introduced in 6.9.0. One change between 6.9.7 and 7.1.0.
Signature, return type and hooks compared across 3 parsed releases.
$ability added.verified against source