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