- add member directory block

This commit is contained in:
ashubawork
2023-03-29 11:48:51 +03:00
parent f5587e0ca5
commit 61d99135f4
6 changed files with 451 additions and 180 deletions
+15
View File
@@ -602,6 +602,7 @@ if ( ! class_exists( 'UM' ) ) {
$this->external_integrations();
$this->gdpr();
$this->member_directory();
$this->blocks();
//if multisite networks active
if ( is_multisite() ) {
@@ -631,6 +632,20 @@ if ( ! class_exists( 'UM' ) ) {
}
/**
* @since 2.6.1
*
* @return um\core\Blocks()
*/
public function blocks() {
if ( empty( $this->classes['blocks'] ) ) {
$this->classes['blocks'] = new um\core\Blocks();
}
return $this->classes['blocks'];
}
/**
* Get extension API
*