rigal-patel
Forum Replies Created
-
Hello @rur165 ,
Still, It’s not working. I added remove action in child theme function.php but getting a fatal error.
/** * Remove store setting hooks */ function dokan_remove_settins_content_header_some_methods() { dokan_remove_hook_for_anonymous_class( 'dokan_settings_form_bottom', \WeDevs\DokanPro\Modules\StoreSupport::Module, 'add_support_btn_title_input', 13 ); } add_action( 'init', 'dokan_remove_settins_content_header_some_methods', 99 );
Error:
Uncaught Error: Class ‘WeDevs\DokanPro\Modules\StoreSupport’ not found in /var/www/html/thecloset/wp-content/themes/yozi-child/functions.php
Would you please check it and let me know how to fix this issue?
Hello @rur165,
There is still an issue in removing action hooks. I am trying to remove settings action hooks but it’s not working
add_action('init', 'remove_my_action'); function remove_my_action() { remove_action('dokan_settings_content_area_header', array(dokan()->dashboard->templates->settings, 'render_settings_help'), 99); remove_action('dokan_settings_content_area_header', array(dokan()->dashboard->templates->settings, 'render_settings_load_progressbar'), 99); }
Would you please check it?
Thanks
- This reply was modified 4 years, 2 months ago by rigal-patel.
- This reply was modified 4 years, 2 months ago by rigal-patel.
Hello @laceyrod
I made so many customizations so I can’t use the above plugin. then the issue is when a coupon is applied I unset free shipping. I add a condition for CHF currency
if ($currency == 'CHF') { unset($rates[$rate_id]); return $rates; }
I unset free shipping options because I don’t want to display these options so the main issue is if we unset free shipping methods unset($rates[$rate_id]);
then free shipping coupon not works.Forum: Plugins
In reply to: [WordPress PDF Templates] PDF blank pageHello Antti Kuosmanen,
I have Updated plugin but I m still getting blank pdf.
/pdf-template/ is dispaly content. I am not getting any error.
what’s Issue in this plugin?