- added setting 'Restricted Access Post Title' for restricted posts displayed in archive;

- fixed access class for posts visible in query but that have restriction settings (message or redirect);
This commit is contained in:
Nikita Sinelnikov
2021-07-22 20:58:20 +03:00
parent c7dc4442c6
commit 2b115b89c7
3 changed files with 60 additions and 31 deletions
+2 -1
View File
@@ -543,6 +543,7 @@ if ( ! class_exists( 'um\Config' ) ) {
'access_exclude_uris' => array(),
'home_page_accessible' => 1,
'category_page_accessible' => 1,
'restricted_access_post_title' => __( 'Restricted content', 'ultimate-member' ),
'restricted_access_message' => '',
'restricted_blocks' => 0,
'enable_blocks' => 0,
@@ -801,4 +802,4 @@ if ( ! class_exists( 'um\Config' ) ) {
}
//end class
}
}
}