Skip to content

Instantly share code, notes, and snippets.

@aimahdi
Created April 10, 2024 04:38
Show Gist options
  • Save aimahdi/e993286845acb030034aa9da3c7cf961 to your computer and use it in GitHub Desktop.
Save aimahdi/e993286845acb030034aa9da3c7cf961 to your computer and use it in GitHub Desktop.
add_action( 'woocommerce_review_order_before_submit', 'custom_content_before_order_submit_button' );
function custom_content_before_order_submit_button() {
(new \FluentCampaign\App\Services\Integrations\WooCommerce\WooInit())->addSubscribeBox();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment