Created
May 8, 2018 08:12
-
-
Save andrewlimaza/86f38447e2fd7ab8ca35112879f3ed72 to your computer and use it in GitHub Desktop.
load SSL seal to checkout page PMPro before submit button
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
<?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