Last active
May 4, 2020 15:22
-
-
Save tyage/936acb04748d40f9fc3f0c82586d3279 to your computer and use it in GitHub Desktop.
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
1a2 | |
> | |
222,223d222 | |
< do_action('wp_print_scripts'); | |
< | |
225,228d223 | |
< | |
< # remove theCode | |
< $content = preg_replace('/<p class="theCode[^<]+<\/p>/', '', $content); | |
< | |
231,237d225 | |
< | |
< return $content; | |
< #if (strpos($content, '<pre')) { | |
< # var_dump($content); | |
< # var_dump($markdown); | |
< # exit(); | |
< #} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment