Removing an action from wp_footer called in a class that’s inside a bigger class

Because of the way the plugin is structured, the hooked function appears to be ultimately exist on the gallery property of the instance property of the DGWT_JG_Core class. When an instance of DGWT_JG_Core is created, a DGWT_JG_Gallery class is instantiated and added to the gallery property of the DGWT_JG_Core instance. So we need to remove … Read more

Adapt PHP form action for WordPress?

I think your action URL is wrong. Did you try with <?php echo plugins_url( ‘listrak-newsletter-api.php’, __FILE__ ); ?> like this way: echo ‘<form action=”‘ . plugins_url( ‘listrak-newsletter-api.php’, __FILE__ ) . ‘” method=”post”>’; in your code? Anyway I still recommend you to use WP AJAX to do this. Read here for more information.