Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('wcfmmp_store_setup_steps', function( $steps ) {
- if (isset($steps['introduction'])) {
- $steps['introduction']['view'] = 'modified_wcfmmp_store_setup_introduction';
- }
- return $steps;
- } );
- function modified_wcfmmp_store_setup_introduction( $wcfmmp_store_setup_obj ) {
- $not_right_now_url = site_url( '/member-shortcuts', 'https' );
- ?>
- <h1><?php echo apply_filters( 'wcfm_store_setup_welcome_heading', sprintf( __("Welcome to %s!", 'wc-multivendor-marketplace'), get_bloginfo('title') ) ); ?></h1>
- <p><?php echo apply_filters( 'wcfm_store_setup_welcome_message', sprintf( __('Thank you for choosing %s! This quick setup wizard will help you to configure the basic settings and you will have your store ready in no time.', 'wc-multivendor-marketplace'), get_bloginfo('title') ) ); ?></p>
- <p><?php echo esc_html( apply_filters( 'wcfm_store_setup_welcome_footer', __( "If you don't want to go through the wizard right now, you can skip and return to the dashboard. You may setup your store from dashboard › setting anytime!", 'wc-multivendor-marketplace' ) ) ); ?></p>
- <p class="wc-setup-actions step">
- <a href="<?php echo esc_url($wcfmmp_store_setup_obj->get_next_step_link()); ?>" class="button-primary button button-large button-next wcfm_submit_button"><?php esc_html_e("Let's go!", 'wc-frontend-manager'); ?></a>
- <?php if( apply_filters( 'wcfm_is_allow_store_setup_step_skip', true ) ) { ?>
- <a href="<?php echo esc_url($not_right_now_url); ?>" class="button button-large"><?php esc_html_e('Not right now', 'wc-frontend-manager'); ?></a>
- <?php } ?>
- </p>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement