Created
May 8, 2023 15:24
-
-
Save xlplugins/d41ee95802c4ff16907a366744318a2b to your computer and use it in GitHub Desktop.
Do not run update order review on last step
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'wfacp_internal_css', function () { | |
| ?> | |
| <style> | |
| body #payment.wfacp_enable_loader .blockUI { | |
| display: block !important; | |
| } | |
| </style> | |
| <script> | |
| window.addEventListener('load', function () { | |
| if (undefined !== wfacp_frontend) { | |
| wfacp_frontend.hooks.addFilter('wfacp_switch_steps_run_update_checkout', function (status,b) { | |
| if(true===b.last_step){ | |
| status= false; | |
| } | |
| return status; | |
| }) | |
| } | |
| }) | |
| </script> | |
| <?php | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment