wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
rest_prepare_attachment › Hooks de Filtros WordPress
Desde4.7.0
Obsoleton/a
› apply_filters( 'rest_prepare_attachment', $response, $post, $request )
| Parâmetros: (3) |
|
| Definido em: | |
| Codex: |
Filters an attachment returned from the REST API.
Allows modification of the attachment right before it is returned.Funções relacionadas: prepend_attachment, wp_prepare_attachment_for_js, rest_parse_date, is_attachment, is_local_attachment, get_the_attachment_link
Hooks relacionados: rest_prepare_comment, rest_prepare_theme, rest_insert_attachment, prepend_attachment, rest_prepare_autosave