Skip to content

Instantly share code, notes, and snippets.

@keshav1990
Forked from xlplugins/SmartButtons at step 2
Created August 17, 2023 06:52
Show Gist options
  • Save keshav1990/7873083a1b0922ca0e9c92d38020555a to your computer and use it in GitHub Desktop.
Save keshav1990/7873083a1b0922ca0e9c92d38020555a to your computer and use it in GitHub Desktop.
Funnelkit checkout SmartButtons at positions
add_filter( 'wfacp_smart_buttons_positions', function ( $settings ) {
$settings[] = [ 'id' => 'woocommerce_review_order_after_payment', 'name' => 'bottom of gateway lists' ];
return $settings;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment