Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function verifica login() {
- if ( is_page (56) ) { } else {
- if{( ! is_user_logged_in() ) {
- wp_redirect( get_bloginfo('siteurl').'/wp-login.php' );
- }
- }
- }
- add_action( 'get_header', 'verifica_login' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement