Skip to content

Instantly share code, notes, and snippets.

@tyage
Last active May 4, 2020 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyage/936acb04748d40f9fc3f0c82586d3279 to your computer and use it in GitHub Desktop.
Save tyage/936acb04748d40f9fc3f0c82586d3279 to your computer and use it in GitHub Desktop.
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