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_local_attachment, is_attachment, wp_insert_attachment
Hooks relacionados: rest_prepare_comment, rest_prepare_theme, rest_insert_attachment, rest_prepare_autosave, rest_prepare_status