wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_ability_execute_result › Hooks de Filtros WordPress
Desde7.1.0
Obsoleton/a
› apply_filters( 'wp_ability_execute_result', $result, $this->name, $input, $this )
| Parâmetros: (4) |
|
| Definido em: | |
| Codex: |
Filters the result returned by an ability's execute callback.
Fires after the registered execute callback runs. Plugins can use this to transform the result — response formatting, stripping internal metadata, content safety filtering, response enrichment, or recovering from a failure by returning a successful value. The filter receives whatever the registered callback produced, including a `WP_Error` if execution failed. Filters may pass the `WP_Error` through unchanged, override it with a recovered result, or convert a successful result into a `WP_Error`.Funções relacionadas: wp_get_ability_categories, wp_get_ability_category, wp_has_ability_category, wp_list_categories, wp_split_selector_list, wp_filter_oembed_result