shopp_catalog_template

filters the catalog page template content.

add_filter( 'shopp_catalog_template', [callback] )

@param string $content the catalog page template content

Description

filters the catalog page template content.

In Shopp 1.1.x, this filter included product templates and category templates.
In Shopp 1.2, this filter only filters calls to the catalog template.

Example

// register filter callback
add_filter('shopp_catalog_template', 'catalog_template_filter');

// create filter function
function catalog_template_filter( $content ) {
    $before = 'content before catalog content';
    $after = 'content after catalog content';

    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