Last active
April 11, 2017 18:50
-
-
Save gabrielmerovingi/5099591b3d6638e1a231e2c0fabee2df to your computer and use it in GitHub Desktop.
Available action hooks for the buyCRED checkout page. Will be replaced as of 1.8
This file contains 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
/** | |
* Checkout Header | |
* @version 1.0 | |
*/ | |
function mycred_pro_buycred_checkout_header() { | |
echo '<link rel="stylesheet" href="http://yourwebsite.com/cssfile.css" type="text/css" media="all" />'; | |
} | |
add_action( 'mycred_buycred_page_header', 'mycred_pro_buycred_checkout_header' ); | |
/** | |
* Checkout After Header | |
* @version 1.0 | |
*/ | |
function mycred_pro_buycred_checkout_after_header() { | |
// Content to show after the page title but before the page content | |
} | |
add_action( 'mycred_buycred_page_top', 'mycred_pro_buycred_checkout_after_header' ); | |
/** | |
* Checkout Footer | |
* @version 1.0 | |
*/ | |
function mycred_pro_buycred_checkout_footer() { | |
// Content to show in the bottom of the page | |
} | |
add_action( 'mycred_buycred_page_footer', 'mycred_pro_buycred_checkout_footer' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment