shopp_search_query

filters the search query used to render the SearchResults smart collection.

add_filter( 'shopp_search_query', [callback] )

@param string $search the search query used to render the SearchResults smart collection.

Description

filters the search query used to render the SearchResults smart collection.

Example

// built-in search term filters
add_filter('shopp_search_query',array('SearchParser','MarkupFilter'));
add_filter('shopp_search_query',array('SearchParser','CurrencyFilter'));
add_filter('shopp_search_query',array('SearchParser','AccentFilter'));
add_filter('shopp_search_query',array('SearchParser','LowercaseFilter'));
add_filter('shopp_search_query',array('SearchParser','NormalizeFilter'));

See Also

You must be logged in to post a comment.

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

Skip to toolbar