wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_ability_permission_result › WordPress Filter Hooks
Seit7.1.0
Veraltetn/v
› apply_filters( 'wp_ability_permission_result', $permission, $this->name, $input, $this )
| Parameter: (4) |
|
| Definiert in: | |
| Codex: |
Filters the result of an ability's permission check.
Fires after the registered `permission_callback` returns. Plugins can use this to layer additional authorization rules on top of the ability's own permission logic — for example, multi-factor authorization gates or temporary permission elevation for trusted contexts. Filters can return `true` to grant, `false` to deny, or a `WP_Error` to deny with a specific error code and message. The filter receives whatever the `permission_callback` produced. Any other return value is coerced to `false`.Ähnliche Funktionen: wp_filter_oembed_result, wp_get_ability_categories, wp_ajax_wp_compression_test, wp_apply_dimensions_support, wp_filter_pre_oembed_result, wp_is_json_request