mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 22:23:37 +09:00
Added Login Checks
This commit is contained in:
+2
-1
@@ -12,7 +12,7 @@ class UM_Form {
|
||||
|
||||
$this->errors = null;
|
||||
|
||||
add_action('init', array(&$this, 'form_init'), 1);
|
||||
add_action('init', array(&$this, 'form_init'), 2);
|
||||
|
||||
add_action('init', array(&$this, 'field_declare'), 10);
|
||||
|
||||
@@ -88,6 +88,7 @@ class UM_Form {
|
||||
|
||||
do_action("um_submit_form_errors_hook", $this->post_form );
|
||||
|
||||
|
||||
do_action("um_submit_form_{$this->post_form['mode']}", $this->post_form );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user