...
In your theme’s functions.php
file, place code similar to the following for the configuration you need.
Code Block |
---|
add_filter( 'testimonials_widget_testimonial_html', 'my_testimonials_widget_testimonial_html', 10, 5 );
function my_testimonials_widget_testimonial_html( $content, $testimonial, $atts, $is_list = true, $is_first = false, $widget_number = null ) {
// do stuff… see Testimonials_Widget::get_testimonial_html for default processing
return $content;
} |
Examples
...