shopp_account_template

filters the account page content, after the account page has been loaded.

add_filter( 'shopp_account_template', [callback] )

@param string $content the account page content, after the account page has been loaded.

Description

filters the account page content, after the account page has been loaded.

Example

// register filter callback
add_filter('shopp_account_template', 'my_filter');

// create filter function
function my_filter( $content ) {
    // replace the account page content if you need to
    ob_start();
    load_template( '/path/to/your/template/file.php' );
    $content = ob_get_contents();
    ob_end_clean();

    return $content;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar