
什么是WordPress版本控制及最佳解决方案
apply_filters( 'rest_prepare_attachment', $response, $post, $request )
Filters an attachment returned from the REST API.
Allows modification of the attachment right before it is returned.
return apply_filters( 'rest_prepare_attachment', $response, $post, $request );