Skip to content
Prev Previous commit
Next Next commit
Override GET collection args
  • Loading branch information
creativecoder committed Jan 9, 2024
commit a3e494c6999116cad175e82a156ff7eb82c595f7
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function register_routes() {
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_items' ),
'permission_callback' => array( $this, 'get_font_faces_permissions_check' ),
'args' => $this->get_collection_params(),
'args' => array(),
),
array(
'methods' => WP_REST_Server::CREATABLE,
Expand Down