修改自己主题和wordpress中的插件类

时间:2018-10-20 08:03:58

标签: wordpress plugins

这是我的插件类

class Dokan_Seller_Setup_Wizard extends Dokan_Setup_Wizard {
     public function dokan_setup_introduction() {
       $dashboard_url = dokan_get_navigation_url();
       ?>
       <h1><?php _e( 'Welcome to the Marketplace!', 'dokan-lite' ); ?></h1>
       <p><?php _e( 'Thank you for choosing The Marketplace to power your online store! This quick setup wizard will help you configure the basic settings. <strong>It’s completely optional and shouldn’t take longer than two minutes.</strong>', 'dokan-lite' ); ?></p>
    <p><?php _e( 'No time right now? If you don’t want to go through the wizard, you can skip and return to the Store!', 'dokan-lite' ); ?></p>
    <p class="wc-setup-actions step">
        <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button-primary button button-large button-next lets-go-btn"><?php _e( 'Let\'s Go!', 'dokan-lite' ); ?></a>
        <a href="<?php echo esc_url( $dashboard_url ); ?>" class="button button-large not-right-now-btn"><?php _e( 'Not right now', 'dokan-lite' ); ?></a>
    </p>
    <?php
    do_action( 'dokan_seller_wizard_introduction', $this );
    }
}

我想在不更改插件代码的情况下修改功能, 我可以根据自己的主题更改此类吗? 谢谢

0 个答案:

没有答案