wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
rest_prepare_attachment › WordPress Filter Hooks
Da4.7.0
Deprecaton/a
› apply_filters( 'rest_prepare_attachment', $response, $post, $request )
Parametri: (3) |
|
Definito a: | |
Codex: |
Filters an attachment returned from the REST API.
Allows modification of the attachment right before it is returned.
Funzioni correlate: prepend_attachment, wp_prepare_attachment_for_js, rest_parse_date, is_local_attachment, is_attachment, wp_insert_attachment
Hooks correlati: rest_prepare_comment, rest_prepare_theme, rest_insert_attachment, rest_prepare_autosave, rest_prepare_status