shopp_checkout_page

filters the checkout page content.

add_filter( 'shopp_checkout_page', [callback] )

@param string $content the checkout page content.

Description

filters the checkout page content.

Prior to Shopp 1.2, this can also filter the confirm order and receipt/thank you page content. These filters have been separated in Shopp 1.2.

Example

// register filter callback
add_filter('shopp_checkout_page', 'checkout_page_content_filter');

// create filter function
function checkout_page_content_filter( $content ) {
    $before = 'content before checkout page';
    $after = 'content before checkout page';

    return $before . $content . $after;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar