Skip to content

Commit

Permalink
Merge pull request #29 from visualdatasolutions/set-custom-types-as-a…
Browse files Browse the repository at this point in the history
…rray

set custom_types to array fixes #28
  • Loading branch information
cmdmcs authored May 3, 2019
2 parents 218482f + 03a7016 commit 7353eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rapid-addon.php
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ public function remove_post_type( $type = '' ) {
}
}

public function filter_post_types( $custom_types = '', $custom_type = '' ) {
public function filter_post_types( $custom_types = array(), $custom_type = '' ) {
$options = $this->options_array();
$option_key = 'post_types_to_remove';

Expand Down Expand Up @@ -1276,4 +1276,4 @@ public function post_type_image( $image ) {
return $image;
}
}
}
}

0 comments on commit 7353eb5

Please sign in to comment.