Created
July 9, 2015 09:41
-
-
Save thierrypigot/5ce9c3ebb8d10de88d3b to your computer and use it in GitHub Desktop.
Permet d'interpréter les caractères html dans le label des fields.
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
add_filter( 'gform_field_content', 'tp_subsection_field', 10, 5 ); | |
function tp_subsection_field( $content, $field, $value, $lead_id, $form_id ) | |
{ | |
return htmlspecialchars_decode( $content ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Merci! Pratique pour ajouter des images dans les titres des labels ;)