<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>How can I “remove_action” for this plugin?

[ad_1]

Replies: 1

I have a client who has used this plugin, but they also include the WordPress header on a custom application. This plugin is appearing within that custom application. I want to remove_action the plugin within the application, but I see that you’ve set registered it via $this, which isn’t accessible… how I can I “undo” this using remove_action?

add_action( 'shutdown', array( $this, 'include_contact_bar' ), -537 );

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer