remove action ‘load_inventory_template’
-
Hi, I am working on some custom code to extend Dokan’s functionality, I am trying to remove the action ‘load_inventory_template’ from the hook ‘dokan_product_edit_after_main’ – the standard remove_action code does not work…
remove_action('dokan_product_edit_after_main', 'load_inventory_template' );Is the function in a class? If so, what is the class name?
The code…
remove_all_actions('dokan_product_edit_after_main');does work, but I just want to remove the inventory panel for the moment.
Cheers
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘remove action ‘load_inventory_template’’ is closed to new replies.