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()?
- what is correct way to hook when update post
- Enforcing password complexity
- How to set custom cookies before output
- Check php version before theme activation
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- Can i check if user is doing any ajax request?
- Use wc_enqueue_js only on specific pages – nested add_action
- How to Remove a Filter from the Admin List Table?
- OOP Plugin Development. Including external object
- Hooking new functions to actions + passing parameters
- Find variables available at a given hook
- Why do filters/actions require an argument count?
- WP Plugin + OOP: Adding Menu Page doesn’t create required effect
- Initiate only latest version of a class
- Appending meta value onto post content in WordPress during save_post
- save_post vs post_updated
- Delete option value from array using update_option()
- How to access function from outside of a class within this class in WP plugin?
- How to use return in my custom function instead of echo
- WP_cron won’t trigger my action
- Shortcode Inside Class Not Working
- How to add custom post meta to default blog post?
- How to get media objects
- Use object in template part
- database interactions using OOP
- Adding Default Settings to Theme My Login plugin
- action is not called after a php request
- Ajax not working es expected (Returns 0)
- Customizer – Prefix Class Extension
- Custom Form Processing Issue
- add_action shortcut?
- Extending the WP_Widget_Text class
- Ajax – Call to undefined function get_option()
- add element with add_action to posts from a specific category ID
- How to prevent XSS alter custom global javascript object & methods in WordPress
- Trying to place a custom field after the total section in the checkout page in woocommerce
- Set meta field to publish date + 2 weeks
- Adding widgets to my plugin page instead of WordPress dashboard
- Adding function to Genesis genesis_header [closed]
- Modify custom field input data before creating a new post
- jQuery code not working when included in functions.php
- add_action taking an array with the 2nd argument?
- Override a function defined in wp-includes/comment-template.php
- Nested “do” and “add” Actions is possible?
- Extend Woocommerce Widget Class – WC_Widget_Product_Categories
- Undefined method class::construct() when creating a plugin
- Need oop for wordpress theme? [duplicate]
- How to catch wordpress post ID when it’s published
- Cant register rest routs from class instance
- Can not add admin notices from the edit_user_profile_update hook (notices not being displayed)?
- How to pass argument to add_action while the method is inside a class?
- Check class_exists before class definition / Doxygen problem
- Action Hook Inside WordPress Plugin Shortcode
- PHP Helper Class to create shortcodes
- Dynamically adding filters
- 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_action from parent theme using child theme functions.php
- WordPress How do I pass a variable from one add_action to another?
- 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
- 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
- Get post content inside plugin class method
- 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
- Unable to pass arguments to function used in add_action
- 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
- 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
- How does add_action ‘comment_post’ work?
- Custom action on comment post
- Cannot modify header information – headers already sent
- $_html is empty when var dumped
- Why a class property becomes empty?
- How to change wp-admin and wp-login urls
- How to sort custom sortable column by custom table value
- Is there a hook that I can use when a fatal error occurs?
- Too few arguments – wp_login action
- Show post in elementor based on views and specific category with query id feature in elementor
- Unable to remove action from parent theme via child theme