Categoría: BRICKS FILTERS FREE WORDPRESS
-
Removing Action/Filter Inside a Plugin’s Namespaced Class Constructor
Recently worked with a friend figuring out how to remove/undo/cancel an add_action() line that’s inside a plugin’s constructor inside a PHP Class with the file having a namespace. Namespace: EtnCoreEventPages Class: Event_single_post Hook: single_template Function: event_single_page The use case: Have single event pages be rendered by the corresponding Bricks template instead of the plugin when…