mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 10:46:11 +09:00
Remove feed from content restriction
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
function um_access_category_settings() {
|
||||
global $post, $wp_query, $ultimatemember;
|
||||
|
||||
if( is_front_page() || is_home() ){
|
||||
if( is_front_page() || is_home() || is_feed() ){
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
|
||||
$post_id = get_option('woocommerce_shop_page_id');
|
||||
|
||||
} else if ( is_archive() || is_front_page() || is_home() || is_search() || in_the_loop() ) {
|
||||
} else if ( is_archive() || is_front_page() || is_home() || is_search() || in_the_loop() || is_feed() ) {
|
||||
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user