wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_prepare_attachment › WordPress过滤钩子
Since4.7.0
已弃用n/a
› apply_filters( 'rest_prepare_attachment', $response, $post, $request )
参数: (3) |
|
定义在: | |
文档: |
Filters an attachment returned from the REST API.
Allows modification of the attachment right before it is returned.
Related Functions: prepend_attachment, wp_prepare_attachment_for_js, rest_parse_date, is_local_attachment, is_attachment, wp_insert_attachment