'no', 'redirect_to' => '', 'allowed_pages' => array(), 'hide_menus' => 'no', 'disable_rest_api' => 'yes', ) ); } /** * Function that generates the content for the settings page */ function wppb_private_website_content() { wppb_private_website_settings_defaults(); $wppb_private_website_settings = get_option( 'wppb_private_website_settings', 'not_found' ); $args = array( 'post_type' => 'page', 'posts_per_page' => -1 ); if( function_exists( 'wc_get_page_id' ) ) $args['exclude'] = wc_get_page_id( 'shop' ); $all_pages = get_posts( $args ); ?>

>

>
>