Last active
June 1, 2020 10:41
-
-
Save luiseduardobraschi/f1cfb3964e3a38f0bf1654033b7b478e to your computer and use it in GitHub Desktop.
Disable all Dokan Pro modules at once.
This file contains 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 | |
add_action('init', function(){ | |
dokan_pro()->module->deactivate_modules( | |
[ | |
'booking', | |
'color_scheme_customizer', | |
'elementor', | |
'export_import', | |
'follow_store', | |
'geolocation', | |
'live_chat', | |
'live_search', | |
'moip', | |
'dokan_paypal_ap', | |
'product_addon', | |
'product_enquiry', | |
'report_abuse', | |
'rma', | |
'seller_vacation', | |
'shipstation', | |
'auction', | |
'spmv', | |
'store_reviews', | |
'store_support', | |
'stripe', | |
'product_subscription', | |
'vendor_staff', | |
'vendor_verification', | |
'wholesale', | |
'vsp', | |
] | |
); | |
}, 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment