Changeset 2357049
- Timestamp:
- 08/11/2020 10:04:26 AM (6 years ago)
- Location:
- mplus-intercom-subscription/trunk
- Files:
-
- 2 edited
-
includes/helper-function.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mplus-intercom-subscription/trunk/includes/helper-function.php
r2246576 r2357049 87 87 */ 88 88 function get_all_company_list() { 89 $intercom = Mplus_Intercom_Subscription_Core::get_client();89 $intercom = Mplus_Intercom_Subscription_Core::get_client(); 90 90 $companies_options = array(); 91 $company = $intercom->companies->getCompanies( [ 'per_page' => 50 ] ); 91 92 92 $company = $intercom->companies->getCompanies( [] ); 93 94 if( property_exists( $company, 'data' ) ): 95 $companies = $company->data; 93 if( property_exists( $company, 'companies' ) ): 94 $companies = $company->companies; 96 95 $companies_options[] = 'Select Company'; 97 96 foreach ( $companies as $company ) : -
mplus-intercom-subscription/trunk/readme.txt
r2246576 r2357049 4 4 Tags: intercom, email, newsletter, marketing, user base, grow, communication 5 5 Requires at least: 4.6 6 Tested up to: 5. 36 Tested up to: 5.4 7 7 Stable tag: trunk 8 8 Requires PHP: 7.2
Note: See TracChangeset
for help on using the changeset viewer.