finished comment integration, it should be working now
This commit is contained in:
@@ -126,10 +126,19 @@ class Partnerexpo_Core {
|
||||
*/
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/utils/class-query-w-relevance.php';
|
||||
|
||||
include_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/utils/class-crypto.php';
|
||||
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/utils/class-logger.php';
|
||||
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/utils/class-crm-client.php';
|
||||
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-partnerexpo-core-integrations.php';
|
||||
|
||||
/**
|
||||
* Action scheduler, used for scheduling comment processing.
|
||||
*/
|
||||
require_once( plugin_dir_path( dirname( __FILE__ ) ) . '/libraries/action-scheduler/action-scheduler.php' );
|
||||
|
||||
/**
|
||||
* The class responsible for registering custom user fields.
|
||||
*/
|
||||
@@ -143,8 +152,9 @@ class Partnerexpo_Core {
|
||||
public function setup() {
|
||||
Logger::init("PartnerEXPO Core", __("Megjegyezve, elrejtés", 'partnerexpo-core'), 'partnerexpo-core');
|
||||
|
||||
$crm_client = new CRMClient(Crypto::encryptSecret(CRM_AUTH));
|
||||
|
||||
Partnerexpo_Core_Integrations::add_hooks( $this->loader );
|
||||
Partnerexpo_Core_Integrations::add_hooks( $this->loader, $crm_client );
|
||||
|
||||
$user_fields = new Partnerexpo_Core_User_Fields( $this->loader );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user