shopp_order_lookup

filters the customer’s account page content when viewing the order history or a particular order receipt.

add_filter( 'shopp_order_lookup', [callback] )

@param string $content the customer's account page content when viewing the order history or a particular order receipt.

Description

filters the customer’s account page content when viewing the order history or a particular order receipt.

Example

// register filter callback
add_filter('shopp_order_lookup', 'shopp_order_lookup_fltr');

// create filter function
function shopp_order_lookup_fltr( $content ) {
    $before = 'content before the order listing(s)';
    $after = 'content after the order listing(s)';
    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