plugins – changing woocommerce_product_write_panel_tabs icon

Question

I am new to wordpress/woo plugin development I want to change icon of woocommerce_product_write_panel_tabs I think its automatically added.enter image description here

<?php
/*
Plugin Name: Payment Plan
Plugin URI:
Description: Monthly payment plan 
Version: 1.0
Author: DIlshod
Author URI: itexpress.uz
*/
/**
* Payment Plan
*/


class PaymentPlan {

    function __construct() {
        add_action( 'woocommerce_product_write_panel_tabs', array($this,'monthly_payment_tabs_on_product_publish' ));
    }

   


    function monthly_payment_tabs_on_product_publish(){
        ?>
        <li class="custom_tab">
            <a href="#custom_tab">
                <?php _e('Monthly Plan', 'MPP'); ?>
            </a>
        </li>
        <?php
    }

}

new PaymentPlan();

0
Buttered_Toast 7 months 2022-01-12T00:26:22-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse