- fixed user registration;

- phpDoc;
This commit is contained in:
nikitozzzzzzz
2018-03-20 13:24:38 +02:00
parent a85c8741b0
commit 2ce33098b5
54 changed files with 15292 additions and 14163 deletions
+24 -15
View File
@@ -5,25 +5,34 @@ namespace um\core;
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Modal' ) ) {
class Modal {
function __construct() {
add_action('wp_footer', array(&$this, 'load_modal_content'), 9);
/**
* Class Modal
* @package um\core
*/
class Modal {
}
/***
*** @Load modal content
***/
function load_modal_content(){
if ( !is_admin() ) {
foreach( glob( um_path . 'templates/modal/*.php' ) as $modal_content) {
include_once $modal_content;
}
}
/**
* Modal constructor.
*/
function __construct() {
add_action('wp_footer', array(&$this, 'load_modal_content'), 9);
}
}
}
/**
* Load modal content
*/
function load_modal_content(){
if ( !is_admin() ) {
foreach( glob( um_path . 'templates/modal/*.php' ) as $modal_content) {
include_once $modal_content;
}
}
}
}
}