Created
December 19, 2022 15:04
-
-
Save thierrypigot/e05c7985b8507a837e0c210d19141f7a to your computer and use it in GitHub Desktop.
Appliquer un filtre personnalisé au contenu de chaque article et page
This file contains hidden or 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 mon_filtre_personnalisé($text) { | |
| // Ajouter le code à exécuter | |
| return $text; | |
| } | |
| add_filter('the_content', 'mon_filtre_personnalisé'); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment