Skip to content

Instantly share code, notes, and snippets.

@max-kk
Created July 26, 2020 09:15
Show Gist options
  • Save max-kk/7990509287c23e3d5a906883a48ae200 to your computer and use it in GitHub Desktop.
Save max-kk/7990509287c23e3d5a906883a48ae200 to your computer and use it in GitHub Desktop.
WOR WCCP
<?PHP
// COPY AFTER THIS LINE !!!!
add_action('wccp/public/confirmation_page/before_confirm_button', function() {
echo '<div class="Wccp_Page_Sidebar">';
});
add_action('wccp/public/confirmation_page/after_confirm_button', function() {
echo "SOME DETAILS";
echo '</div>';
echo '</style>.Wccp_Page_Sidebar, .Wccp_Details { float: left; } .Wccp_Details { width: 70%; } .Wccp_Page_Sidebar { width: 30%; } </style>';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment