wppaste
WordPress

do_action( 'wp_after_execute_ability', string $ability_name, mixed $input, mixed $result )

Since
6.9.0
Fires immediately after an ability finished executing.

Compatibility

WordPress
since 6.9.0
  • 6.7.10
  • 6.8.11
  • 6.9.10
  • 7.0.7
  • 7.1.3

Present in 3 of the 5 tracked releases, added in 6.9.0.

Parameters

$ability_namestring
The name of the ability.
$inputmixed
The input data for the ability.
$resultmixed
The result of the ability execution.

Where this hook fires · 1

  • wp-includes/abilities-api/class-wp-ability.php:652WP_Ability::execute()

Source code

		 * @since 6.9.0		 *		 * @param string $ability_name The name of the ability.		 * @param mixed  $input        The input data for the ability.		 * @param mixed  $result       The result of the ability execution.		 */		do_action( 'wp_after_execute_ability', $this->name, $input, $result ); 		return $result;	} 	/**	 * Wakeup magic method.

Changelog

Introduced in 6.9.0. One change between 6.9.10 and 7.1.3.

  1. 6.9.10
  2. 7.0.7
  3. 7.1.3

Signature, return type and hooks compared across 3 parsed releases.

7.1.3
Parameter $ability added.verified against source
6.9.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 6.9.10 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.