Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( is_page( 'membership-canceled' ) || is_page( 'subscribed' ) ) {
- if ( ! is_user_logged_in() ) {
- wp_die( 'You do not have access to this page.', 'Forbidden', [ 'response' => 403 ] );
- exit();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement