mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
- made external integrations class;
This commit is contained in:
@@ -317,6 +317,7 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
$this->cron();
|
||||
$this->tracking();
|
||||
$this->mobile();
|
||||
$this->external_integrations();
|
||||
}
|
||||
|
||||
|
||||
@@ -333,6 +334,19 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
* @return um\core\External_Integrations()
|
||||
*/
|
||||
function external_integrations() {
|
||||
if ( empty( $this->classes['external_integrations'] ) ) {
|
||||
$this->classes['external_integrations'] = new um\core\External_Integrations();
|
||||
}
|
||||
return $this->classes['external_integrations'];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user