Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Load content on confirmation or checkout page for PMPro.
* Load content for specific pages, checkout or confirmation page
* Add this code to your PMPro Customizations Plugin -
function load_my_script_for_pmpro() {
global $pmpro_pages;
if ( is_page( $pmpro_pages['checkout'] ) || is_page( $pmpro_pages['confirmation'] ) ) {
<!-- script or styles go here -->
add_action( 'wp_head', 'load_my_script_for_pmpro' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.