mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 07:04:06 +09:00
Update 1.3.29
This commit is contained in:
+4
-2
@@ -15,12 +15,14 @@ class UM_Access {
|
||||
*** @do actions based on priority
|
||||
***/
|
||||
function template_redirect() {
|
||||
global $ultimatemember;
|
||||
|
||||
global $post, $ultimatemember;
|
||||
|
||||
do_action('um_access_homepage_per_role');
|
||||
|
||||
do_action('um_access_global_settings');
|
||||
|
||||
do_action('um_access_category_settings');
|
||||
|
||||
do_action('um_access_post_settings');
|
||||
|
||||
if ( $this->redirect_handler && !$this->allow_access ) {
|
||||
|
||||
Reference in New Issue
Block a user