$coupon_abstract = new GlmDataCoupons( $this->wpdb, $this->config );
require_once GLM_MEMBERS_PLUGIN_PATH.'/models/admin/ajax/imageUpload.php';
$ImageUpload = new GlmMembersAdmin_ajax_imageUpload($this->wpdb, $this->config);
- $refType = $this->config['ref_type_numb']['Member'];
+ $refType = $this->config['ref_type_numb']['Member'];
// get the coupons from the glm-coupon plugin
// post type GLM_COUPON_POST_TYPE
// GLM_COUPON_POST_TYPE must be defined
$coupon->glm_coupons_image = '';
}
}
- $post_categories = wp_get_object_terms(
+ $post_categories = wp_get_object_terms(
$coupon->ID,
GLM_COUPON_TAX_CATEGORIES,
array('fields' => 'names')