You are required to login to view this page.'; } return $content; } if ( is_page( $settings['login_user_page'] ) ) { if ( 'yes' === $settings['show_login_form'] ) { $content = wp_login_form(); } else { $content = '

You are required to login to view this page.

'; } } return $content; } } } // AUAM_Page_Restrict AUAM_Page_Restrict::instance();