Skip to content

Commit

Permalink
Merge pull request #41 from JMAConsulting/show_all_ft
Browse files Browse the repository at this point in the history
Get All Financial Types to choose under WooCommerce CiviCRM Settings
  • Loading branch information
veda-consulting authored Apr 24, 2021
2 parents cd285e5 + 82a298f commit a34b53d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions includes/class-woocommerce-civicrm-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,11 @@ private function get_financial_types() {
return $this->financial_types;
}

$params = [
'sequential' => 1,
'is_active' => 1,
];
$params = [
'sequential' => 1,
'is_active' => 1,
'options' => ['limit' => 0],
];

/**
* Filter Financial type params before calling the Civi's API.
Expand Down

0 comments on commit a34b53d

Please sign in to comment.