Skip to content

Commit

Permalink
Remove not used variable
Browse files Browse the repository at this point in the history
  • Loading branch information
keesiemeijer committed Dec 2, 2019
1 parent 9429e51 commit ee7e4d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/rest-api/class-rest-api-archives.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ public function prepare_item_for_response( $args, $request ) {
$args = apply_filters( 'cptda_rest_api_archives_args', $args, $request );
$args = cptda_validate_archive_settings( $args );

// Unfiltarable arguments
// Unfiltarable argument
$args['post_type'] = $post_type;
$args['echo'] = false;

$rendered = $this->get_archives( $args );

Expand Down

0 comments on commit ee7e4d0

Please sign in to comment.