Created
December 29, 2019 22:31
-
-
Save rashedripon/9c1646cb516d7824ae4044fadd380dea to your computer and use it in GitHub Desktop.
Remove progressbar from vendor dashboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Remove progressbar from vendor dashboard | |
if(class_exists('Dokan_Pro_Dashboard')) { | |
remove_action( 'dokan_dashboard_before_widgets', array( Dokan_Pro_Dashboard::init(), 'show_profile_progressbar' ), 10 ); | |
} | |
if(class_exists('Dokan_Pro_Settings')) { | |
remove_action( 'dokan_settings_load_ajax_response', array( Dokan_Pro_Settings::init(), 'render_pro_settings_load_progressbar' ), 25 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment