shopp_category_template

filters the content of the category template.

add_filter( 'shopp_category_template', [callback] )

@param string $content the category template content.

Description

filters the content of the category template.

Example

// register filter callback
add_filter('shopp_category_template', 'my_category_template_filter');

// create filter function
function my_category_template_filter( $content ) {
    $before = 'before the category template content';
    $after = 'after the category template 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