| Server IP : 104.21.28.229 / Your IP : 216.73.216.142 Web Server : Apache/2 System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : mienphi ( 1014) PHP Version : 8.2.14 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mienphi/public_html/wp-content/plugins/paid-memberships-pro/adminpages/wizard/ |
Upload File : |
<?php // Get options. $filter_queries = get_option( 'pmpro_filterqueries' ); $show_excerpts = get_option( 'pmpro_showexcerpts' ); $hide_toolbar = get_option( 'pmpro_hide_toolbar' ); $block_dashboard = get_option( 'pmpro_block_dashboard' ); $wisdom_tracking = get_option( 'pmpro_wisdom_opt_out' ); ?> <div class="pmpro-wizard__step pmpro-wizard__step-4"> <form action="" method="post"> <div class="pmpro-wizard__step-header"> <h2><?php esc_html_e( 'Advanced Settings', 'paid-memberships-pro' ); ?></h2> <p><?php esc_html_e( 'Configure advanced settings relating to your membership site. You can configure additional settings later.', 'paid-memberships-pro' ); ?></p> </div> <div class="pmpro-wizard__field"> <label for="filterqueries" class="pmpro-wizard__label-block"> <?php esc_html_e( 'Filter searches and archives?', 'paid-memberships-pro' ); ?> </label> <select name="filterqueries" id="filterqueries" class="pmpro-wizard__field-block"> <option value="0" <?php selected( 0, $filter_queries); ?>><?php esc_html_e( 'No - Non-members will see restricted posts/pages in searches and archives.', 'paid-memberships-pro' ); ?></option> <option value="1" <?php selected( 1, $filter_queries ); ?>><?php esc_html_e( 'Yes - Only members will see restricted posts/pages in searches and archives.', 'paid-memberships-pro' ); ?></option> </select><br><br> <label for="showexcerpts" class="pmpro-wizard__label-block"> <?php esc_html_e( 'Show excerpts to non-members?', 'paid-memberships-pro' ); ?> </label> <select name="showexcerpts" id="showexcerpts" class="pmpro-wizard__field-block"> <option value="0" <?php selected( 0, $show_excerpts ); ?>><?php esc_html_e( 'No - Hide excerpts.', 'paid-memberships-pro' ); ?></option> <option value="1" <?php selected( 1, $show_excerpts ); ?>><?php esc_html_e( 'Yes - Show excerpts.', 'paid-memberships-pro' ); ?></option> </select> </div> <div class="pmpro-wizard__field"> <label class="pmpro-wizard__label-block" for="block_dashboard"> <input type="checkbox" name="block_dashboard" id="block_dashboard" value="yes" <?php checked( $block_dashboard, 'yes' ); ?> /> <?php esc_html_e( 'Block all users with the Subscriber role from accessing the Dashboard.', 'paid-memberships-pro' ); ?> </label><br><br> <label class="pmpro-wizard__label-block" for="hide_toolbar"> <input type="checkbox" name="hide_toolbar" id="hide_toolbar" value="yes" <?php checked( $hide_toolbar, 'yes' ); ?> /> <?php esc_html_e( 'Hide the Toolbar from all users with the Subscriber role.', 'paid-memberships-pro' ); ?> </label> </div> <div class="pmpro-wizard__field"> <label for="wisdom_opt_out" class="pmpro-wizard__label-block"> <?php esc_html_e( 'Enable Tracking?', 'paid-memberships-pro' ); ?> </label> <select name="wisdom_opt_out" id="wisdom_opt_out" class="pmpro-wizard__field-block"> <option value="0" <?php selected( 0, $wisdom_tracking ); ?>><?php esc_html_e( 'Yes - Allow usage of Paid Memberships Pro to be tracked.', 'paid-memberships-pro' ); ?></option> <option value="1" <?php selected( 1, $wisdom_tracking ); ?>><?php esc_html_e( 'No - Do not track usage of Paid Memberships Pro on my site.', 'paid-memberships-pro' ); ?></option> </select> <p class="pmpro-wizard__field-description"><?php esc_html_e( 'Sharing non-sensitive membership site data helps us analyze how our plugin is meeting your needs and identify opportunities to improve. Can be turned off under "Advanced" Settings.', 'paid-memberships-pro' ); ?></p> </div> <p class="pmpro_wizard__submit"> <?php wp_nonce_field( 'pmpro_wizard_step_4_nonce', 'pmpro_wizard_step_4_nonce' ); ?> <input type="hidden" name="wizard-action" id="wizard-action" value="step-4"/> <input type="submit" name="submit" class="button button-primary button-hero" value="<?php esc_attr_e( 'Submit and Continue', 'paid-memberships-pro' ); ?>" /><br/> <a class="pmpro_wizard__skip" href="<?php echo esc_url( admin_url( 'admin.php?page=pmpro-wizard&step=done' ) );?>"><?php esc_html_e( 'Skip', 'paid-memberships-pro' ); ?></a> </p> </form> </div> <!-- end pmpro-wizard__step-4 -->