337 posts
  • 2 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Exclusive Author
+2 more
subsolar
says

Hi, is there a way to remove the unwanted paragraphs from the shortcodes, that is compatible with the new Phase?

I know that modified wpautop and this is not permitted anymore: $array = array ( '<p>[' => '[', ']</p>' => ']', ']<br />' => ']' ); $content = strtr($content, $array); return $content;

Can somebody share a code snipped that can get the job done. Thanks! :)

74 posts
  • 5 Years of Membership
  • Author Level 6
  • Collector Level 2
  • Exclusive Author
+1 more
jezh
says

Check out this thread, you’ll find useful info there.

337 posts
  • 2 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Exclusive Author
+2 more
subsolar
says

Oh, thanks! I knew about this thread but couldn’t find it..

by
by
by
by
by
by