Created
July 14, 2023 14:15
-
-
Save plugin-republic/4cb9c186e59cebeda3cefc4e7019d0a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filter heading tag for group headings | |
*/ | |
function prefix_filter_group_title( $title, $group, $group_id ) { | |
$group_title = pewc_get_group_title( $group_id, $group, true ); | |
return sprintf( '<h3>%s</h3>', esc_html( $group_title ) ); // Change your tags here | |
} | |
add_filter( 'pewc_filter_group_title', 'prefix_filter_group_title', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment