Filter: wp_ability_permission_result
Core's permission filter (WordPress 7.1), with core's arguments except the last: core passes the WP_Ability, which does not exist here. Documented in wp-includes/abilities-api/class-wp-ability.php.
Parameters
| Name | Type | Description |
|---|---|---|
| $permission | bool|\WP_Error | The permission result so far: always a pass here. |
| $ability_name | string | The name of the ability. |
| $input | mixed | The input data for the permission check. |
| $ability | null | Null; core passes the WP_Ability. |
Source
Defined in MergeTags/AbilitiesFallback.php at line 243