Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created July 14, 2023 14:15
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<?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