wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
rest_prepare_attachment › Les Filtres WordPress
Depuis4.7.0
Dépréciéen/a
› apply_filters( 'rest_prepare_attachment', $response, $post, $request )
| Paramètres: (3) |
|
| Défini(e) dans: | |
| Codex: |
Filters an attachment returned from the REST API.
Allows modification of the attachment right before it is returned.Fonctions en relation: prepend_attachment, wp_prepare_attachment_for_js, rest_parse_date, is_attachment, is_local_attachment, get_the_attachment_link
Hooks en relation: rest_prepare_comment, rest_prepare_theme, rest_insert_attachment, prepend_attachment, rest_prepare_autosave