- made external integrations class;

This commit is contained in:
nikitozzzzzzz
2017-12-19 14:44:06 +02:00
parent 45498f16dc
commit f861de65a8
7 changed files with 157 additions and 73 deletions
+14
View File
@@ -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
*