Skip to main content
4 events
when toggle format what by license comment
Jul 12, 2023 at 5:27 vote accept Programming Geek
Jul 12, 2023 at 5:27 comment added Programming Geek Sir, I modified this line as: if ( ! is_array( $roles ) || ( ! in_array( 'customers', $roles ) && ! is_user_logged_in() ) ) { return; } and its working perfectly. Thanks a ton!
Jul 12, 2023 at 5:16 comment added Programming Geek Thank you Sir. This worked. But now the problem is that when a new "Customer" registers him/ herself, they see all the pages until and unless they create one of their own. Once they add a new page, then they see only that page and the others don't appear then.
Jul 12, 2023 at 0:40 history answered Caleb CC BY-SA 4.0