echo ‘[test attr=”‘.json_encode(array(‘test’=>’my[][dfd]dfds[][][‘)).'”]';
//How to safe pass the array as attribute in shortcodes ?

Read more here: How to pass an array as attribute of shortcode to work properly shortcode parser?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , , ,

Wordpress related questions and answers: