wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
rest_prepare_{$this->taxonomy} › Hooks de Filtros WordPress
Desde4.7.0
Obsoleton/a
› apply_filters( "rest_prepare_{$this->taxonomy}", $response, $item, $request )
Parâmetros: (3) |
|
Definido em: | |
Codex: |
Filters the term data for a REST API response.
The dynamic portion of the hook name, $this->taxonomy
, refers to the taxonomy slug.
Possible hook names include:
rest_prepare_category
rest_prepare_post_tag
Allows modification of the term data right before it is returned.
Funções relacionadas: rest_parse_hex_color, rest_get_route_for_taxonomy_items, get_taxonomy, register_taxonomy, get_the_taxonomies, rest_parse_request_arg