Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrewlimaza/86f38447e2fd7ab8ca35112879f3ed72 to your computer and use it in GitHub Desktop.
Save andrewlimaza/86f38447e2fd7ab8ca35112879f3ed72 to your computer and use it in GitHub Desktop.
load SSL seal to checkout page PMPro before submit button
<?php
/**
* Add the function (below) to your PMPro Customizations Plugin.
* This will add your SSL Seal code just before the submit button of checkout.
*/
function load_my_ssl_seal_to_checkout() {
echo '<!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --><table width="125" border="0" cellspacing="0" cellpadding="0" title="CLICK TO VERIFY: This site uses a GlobalSign SSL Certificate to secure your personal information."><tr><td><span id="ss_img_wrapper_gmogs_image_125-50_en_white"><a href="https://www.globalsign.com/" target="_blank" title="GlobalSign Site Seal" rel="nofollow"><img alt="SSL" border="0" id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_125-50_en.gif"></a></span></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT -->';
}
add_action( 'pmpro_checkout_before_submit_button', 'load_my_ssl_seal_to_checkout' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment