Woocommerce support sent me the solution of my problem:
function unregister_parent_hook() {
if ( function_exists( 'wc_dve' ) ) {
$instance = wc_dve();
remove_action( 'woocommerce_after_order_notes', array( $instance, 'exemption_field' ) );
}
}
Related Posts:
- Does an activated plugin automatically mean its methods are available to other WP functions?
- Use PHP Class in WordPress functions
- How to execute add_action() function from custom plugin to Crontrol plugin or do_action()?
- add_action in namespace not working
- Enforcing password complexity
- Getting the action’s tag name within the action
- Action ‘save_post’ not working for quick edit
- Can i check if user is doing any ajax request?
- Best way to extends core classes in theme?
- add_meta_boxes action with refresh on save
- Use wc_enqueue_js only on specific pages – nested add_action
- How to Remove a Filter from the Admin List Table?
- Insert post without actions/hooks
- Hooking new functions to actions + passing parameters
- Find variables available at a given hook
- WP Plugin + OOP: Adding Menu Page doesn’t create required effect
- save_post vs post_updated
- How to do conditional publishing?
- How to access function from outside of a class within this class in WP plugin?
- action hook wp_head higher priority as all other plugins/hooks
- Shortcode Inside Class Not Working
- How to add custom post meta to default blog post?
- How to get media objects
- Adding Default Settings to Theme My Login plugin
- action is not called after a php request
- Remove an action hook within a Class
- Ajax not working es expected (Returns 0)
- How to pass arguments to add_action() or retrieve return value of called function?
- Custom Form Processing Issue
- Is it acceptable to treat a filter like an action?
- Ajax – Call to undefined function get_option()
- Trying to get property of non-object “ wordpress ”
- add element with add_action to posts from a specific category ID
- How to prevent XSS alter custom global javascript object & methods in WordPress
- Contact Fom 7 – how to add custom HTML inside span.wpcf7-form-control-wrap AND IMMEDIATELY AFTER input.wpcf7-form-control?
- Set meta field to publish date + 2 weeks
- Adding widgets to my plugin page instead of WordPress dashboard
- action theme mailchimp subscriber fields
- Modify custom field input data before creating a new post
- add_action taking an array with the 2nd argument?
- Should `wp_login` be used since it’s deprecated?
- How to show a users bio on a page
- Override a function defined in wp-includes/comment-template.php
- Nested “do” and “add” Actions is possible?
- Change order of custom submenu link in WP Admin?
- Extend Woocommerce Widget Class – WC_Widget_Product_Categories
- How can I access string value in an array?
- Need oop for wordpress theme? [duplicate]
- Usage of call back function of add_meta_box()
- Why is a wp function used in current PHP namespace’s callback not resolved to global scope?
- How to catch wordpress post ID when it’s published
- WordPress redirect redirecting too many times or not at all
- Cant register rest routs from class instance
- How to pass argument to add_action while the method is inside a class?
- Display attribute on shop page after the title
- Check class_exists before class definition / Doxygen problem
- Action Hook Inside WordPress Plugin Shortcode
- PHP Helper Class to create shortcodes
- Dynamically adding filters
- Woocommerce custom Plugin in wordpress [closed]
- Class property seems to lose scope, attached to save_post action?
- How to pass hook variable to function?
- Change image data durgin upload
- OOP PHP class extends TwentyTwenty_Customize in Child Theme
- add_action in namespace not working
- Call to “admin_notices” hook from a static method
- WordPress Post Block Element not properly parsed with the_content filter
- Remove an action created by a Gravity Forms add-on
- remove_action from parent theme using child theme functions.php
- can I extend the WP_Query class to deal with ‘duplicate’ posts created by joining to wp_posts?
- I want to hide “sold by” on certain pages with id page 43
- Get original value in save_post action hooka
- Access variable from another class that was passed in constructor
- How do I remove an action hook inside a class that is called by another class?
- How to add typehints to function in functions.php when argument is an object?
- Proper use of Output Buffer for a whole php clas
- add_action in wp_head accessible from class
- in the post admin, is it possible to make the post title input disabled using php?
- Hook into all password resets in WordPress and get password before hashing?
- Why should I need to add init action to include PHP file to WordPress Plugin?
- remove_action() not working in page template – Genesis
- How to hook into the subscriber /wp-admin/index.php page?
- Calling WordPress hook from within a class: call to undefined function error
- wordpress form action page not found
- Add two or multiple functions in WordPress Post or Page
- Submit to itself don’t work
- PHP calling function within a class
- What is wrong with assigning values to a WP_List_Table class?
- WordPress HTML Helper
- calling a function from a class in your template
- Property value of null when value is assigned inside a method hooked to the wp action hook
- At what point during a typical request does the $wpdb object become available?
- How does add_action ‘comment_post’ work?
- Custom action on comment post
- Issues separating my Plugin pages into different files
- Cannot modify header information – headers already sent
- Fix incorrect related posts code snippet
- $_html is empty when var dumped
- How to sort custom sortable column by custom table value
- Is there a hook that I can use when a fatal error occurs?