wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
rest_prepare_attachment › Filtr WordPress Hooks
Od4.7.0
Przestarzałyn/a
› apply_filters( 'rest_prepare_attachment', $response, $post, $request )
| Parametry: (3) |
|
| Zdefiniowane na: | |
| Codex: |
Filters an attachment returned from the REST API.
Allows modification of the attachment right before it is returned.Powiązane Funkcje: prepend_attachment, wp_prepare_attachment_for_js, rest_parse_date, is_attachment, is_local_attachment, get_the_attachment_link
Powiązane Hooks: rest_prepare_comment, rest_prepare_theme, rest_insert_attachment, prepend_attachment, rest_prepare_autosave