Setup wizard: add “skip” link to activate step.
This commit is contained in:
parent
7e2ffa2043
commit
14066f33ec
|
@ -189,6 +189,8 @@ class WC_Admin_Setup_Wizard {
|
|||
<a class="wc-return-to-dashboard" href="<?php echo esc_url( admin_url() ); ?>"><?php esc_html_e( 'Not right now', 'woocommerce' ); ?></a>
|
||||
<?php elseif ( 'next_steps' === $this->step ) : ?>
|
||||
<a class="wc-return-to-dashboard" href="<?php echo esc_url( admin_url() ); ?>"><?php esc_html_e( 'Return to the WordPress Dashboard', 'woocommerce' ); ?></a>
|
||||
<?php elseif ( 'activate' === $this->step ) : ?>
|
||||
<a class="wc-return-to-dashboard" href="<?php echo esc_url( $this->get_next_step_link() ); ?>"><?php esc_html_e( 'Skip this step', 'woocommerce' ); ?></a>
|
||||
<?php endif; ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue