How to change the HTML tags of the option name

By default the options of the review are wrapped using h3 tags.
You can change to whatever tags fits your website using the wppr_option_name_html filter.

Here is a code snippet that completely removes the html tag of from the options of a review.
The first parameter, $id, is the id of the post used for review.

add_filter( 'wppr_option_name_html','wppr_option_name_html_filter_demo',11,2 );

function wppr_option_name_html_filter_demo( $id = '', $name = '' ) {

	$name = strip_tags ($name);
	return $name;

}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us