WordPress Plugin ShortCode JSON Errors
WordPress Plugin ShortCode JSON Errors – How To Fix Them
IN 10 MINUTES OR LESS…
So…I made a big oopsie doopsie. I made this entire WordPress plugin development series without covering the #1 issue that you will run into when developing a shortcode in your plugin, GUTENBERG.
If a WordPress plugin shortcode has any echos or outputs Gutenberg will attempt to destroy you. Fortunately, there are a few ways around this issue including building your plugin correctly using RETURNS. However, in our case we are already too deep so I show 2 other ways to fix this problem.
#wordpressplugindevelopment #buildaplugin2021
GITHUB REPO:
https://github.com/wordpressin10orless/The-Tag-Mixer
––––––––––––––––––––––––––––––
Popsicle by KODOMOi https://soundcloud.com/kodomoimusic
Creative Commons – Attribution 3.0 Unported – CC BY 3.0
Free Download / Stream: http://bit.ly/2BoP4os
Music promoted by Audio Library https://youtu.be/z6mKD6hpKBU
––––––––––––––––––––––––––––––
Source