shopp_index_content

filters each of the the search index entries content before it is saved

add_filter( 'shopp_index_content', [callback] )

@param string $content the search index content before it is saved

Description

filters each of the the search index entries content before it is saved

Example

// register filter callback
add_filter('shopp_index_content', 'shopp_index_content_filter');

// create filter function
function shopp_index_content_filter( $content ) {
    // filter terms
    // ...
    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