Created
March 15, 2023 15:33
-
-
Save PluginRepublicSupport/dbaddd4db5120edab97695eaa3c60358 to your computer and use it in GitHub Desktop.
Change Group Title HTML Element
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 | |
function my_group_filter_title( $group_title, $group, $group_id ) { | |
$group_title = pewc_get_group_title( $group_id, $group, true ); | |
return '<h2>' . $group_title . '</h2>'; | |
} | |
add_filter( 'pewc_filter_group_title', 'my_group_filter_title', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment