rpress_fooditems_excerpt

Author: RestroPress 44 views

The rpress_fooditems_excerpt filter is applied to use default formatting for fooditem excerpts. It receives one parameter.

function rpress_fooditems_default_excerpt( $excerpt ) {
return do_shortcode( wpautop( $excerpt ) );
}
add_filter( ‘rpress_fooditems_excerpt’, ‘rpress_fooditems_default_excerpt’ );