This filter can be used to modify the section’s title markup.
Arguments
- Tag [Default: h3]
- Section Data Name
Modify H3 into Span
Add code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.
This code will change the default h3 heading tags into span tags on single listing pages.
add_filter( 'rem_property_section_title_wrap', 'custom_rem_section_title_wrap', 10, 2 );
function custom_rem_section_title_wrap( $tag, $tab_key ) {
return 'span';
}