PATH:
home
/
fengshp
/
www
/
wp-content
/
plugins
/
wp-events-manager
/
inc
/
admin
/
settings
<?php /** * WP Events Manager Admin Setting Pages class * * @author ThimPress, leehld * @package WP-Events-Manager/Class * @version 2.1.7 */ /** * Prevent loading this file directly */ defined( 'ABSPATH' ) || exit; class WPEMS_Admin_Setting_Pages extends WPEMS_Abstract_Setting { /** * ID * @var type mixed */ public $id = null; /** * Title * @var type string */ public $label = null; public function __construct() { $this->id = 'event_pages'; $this->label = __( 'Pages', 'wp-events-manager' ); add_action( 'event_admin_setting_update_' . $this->id, array( $this, 'save' ) ); parent::__construct(); } public function save() { parent::save(); } /** * Get options setting page * @return type array */ public function get_settings() { $prefix = 'thimpress_events_'; return apply_filters( 'event_admin_setting_page_' . $this->id, array( array( 'type' => 'section_start', 'id' => 'pages_settings', 'title' => __( 'Pages Settings', 'wp-events-manager' ), ), array( 'type' => 'select_page', 'title' => __( 'Register Page', 'wp-events-manager' ), 'desc' => __( 'This controls which the register page', 'wp-events-manager' ), 'id' => $prefix . 'register_page_id', ), array( 'type' => 'select_page', 'title' => __( 'Login Page', 'wp-events-manager' ), 'desc' => __( 'This controls which the login page', 'wp-events-manager' ), 'id' => $prefix . 'login_page_id', ), array( 'type' => 'select_page', 'title' => __( 'Forgot Password', 'wp-events-manager' ), 'desc' => __( 'This controls which the forgot password page', 'wp-events-manager' ), 'id' => $prefix . 'forgot_password_page_id', ), array( 'type' => 'select_page', 'title' => __( 'Reset Password', 'wp-events-manager' ), 'desc' => __( 'This controls which the reset password page', 'wp-events-manager' ), 'id' => $prefix . 'reset_password_page_id', ), array( 'type' => 'select_page', 'title' => __( 'My Account', 'wp-events-manager' ), 'desc' => __( 'This controls which the user account page', 'wp-events-manager' ), 'id' => $prefix . 'account_page_id', ), array( 'type' => 'section_end', 'id' => 'pages_settings', ), ) ); } } return new WPEMS_Admin_Setting_Pages();
[+]
..
[-] class-wpems-admin-setting-emails.php
[edit]
[-] class-wpems-admin-setting-general.php
[edit]
[-] class-wpems-admin-setting-pages.php
[edit]
[-] class-wpems-admin-setting-checkout.php
[edit]