$settings Field configuration. * @var mixed $value Current saved value. * @var string $module_id Module ID. * * @package Merchant * @since 2.2.5 */ if ( ! defined( 'ABSPATH' ) ) { exit; } $page_id = get_option( $settings['option_name'] ); echo '
Your page is created!
Click here if you want to edit the page.
To display the page in your theme header area, assign the page to the primary menu by clicking here
', 'merchant' ), get_admin_url() . 'post.php?post=' . $page_id . '&action=edit', get_admin_url() . 'nav-menus.php' ) ); } else { echo ''; echo ''; echo wp_kses_post( sprintf( /* translators: 1: page title, 2: page meta key, 3: page meta value, 4: option name, 5: nonce, 6: loading text, 7: success text */ __( '%1$s', 'merchant' ), __( 'Create Page', 'merchant' ), $settings['page_title'], $settings['page_meta_key'], $settings['page_meta_value'], $settings['option_name'], wp_create_nonce( 'customize-create-page-control-nonce' ), __( 'Creating...', 'merchant' ), __( 'Created!', 'merchant' ) ) ); } echo '