Skip to content

Instantly share code, notes, and snippets.

@BraadMartin
Last active May 24, 2017 02:22
Show Gist options
  • Save BraadMartin/cd90bcfeca80e1f8f558 to your computer and use it in GitHub Desktop.
Save BraadMartin/cd90bcfeca80e1f8f558 to your computer and use it in GitHub Desktop.
A list of all of the filters available in the WP REST API v2
rest_avatar_sizes
rest_prepare_attachment
rest_pre_insert_comment
rest_comment_type_trashable
comment_text
rest_prepare_comment
rest_preprocess_comment
rest_prepare_meta_value
rest_post_query
rest_post_type_trashable
rest_query_var-{$var}
rest_private_query_vars
rest_query_vars
rest_pre_insert_{$this->post_type}
rest_prepare_{$this->post_type}
rest_prepare_taxonomy
rest_prepare_term
rest_user_query
rest_prepare_user
rest_pre_insert_user
rest_request_parameter_order
rest_authentication_errors
rest_enabled
rest_jsonp_enabled
rest_pre_dispatch
rest_post_dispatch
rest_pre_serve_request
rest_envelope_response
rest_endpoints
rest_dispatch_request
rest_index
rest_namespace_index
rest_endpoints_description
rest_route_data
wp_rest_server_class
rest_url_prefix
rest_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment