shopp_rss_meta

filters the rss feed meta entries.

add_filter( 'shopp_rss_meta', [callback] )

@param array $meta the list of rss feed meta entries.

Description

filters the rss feed meta entries.

The rss feed meta entries contain:
* title – the blog name and product category name of the feed
* link – the feed url
* description – the category description
* sitename – the site name and url
* xmlns – and array of feed namespace urls, keys by namespace

Example

// register filter callback
add_filter('shopp_rss_meta', 'shopp_rss_meta_fltr');

// create filter function
function shopp_rss_meta_fltr( $meta ) {
    // change the feed title
    $meta['title'] = 'My store product feed';
    return $meta;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar