Created
July 14, 2023 14:17
-
-
Save plugin-republic/f02aadc72e69a32a39d9e9e3f57b36aa 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 the h4 tag | |
*/ | |
function prefix_field_label_tag( $tag, $item ) { | |
return 'h4'; // Change your tag here | |
} | |
add_filter( 'pewc_field_label_tag', 'prefix_field_label_tag', 100, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment