wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_revision_query › Filtr WordPress Hooks

Od5.0.0
Przestarzałyn/a
› apply_filters( 'rest_revision_query', $args, $request )
Parametry: (2)
  • () args Array of arguments for WP_Query.
    Wymagane: Tak
  • () request The REST API request.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters WP_Query arguments when querying revisions via the REST API.

Serves the same purpose as the {@see 'rest_{$this->post_type}_query'} filter in WP_REST_Posts_Controller, but for the standalone WP_REST_Revisions_Controller.




Źródło

$args = apply_filters( 'rest_revision_query', $args, $request );