Dynamically create shortcodes using add_shortcode and a callback
the shortcodes doesn’t shop up in the liste because it’s not a valid declaration with a valid function callback on the 2nd argument try this to see what append : // shortcode data add_filter(“shortcode_list”, function ($shortcode_list) { $shortcode_list[“slugA”] = array( “html” => “test html 1”, ); return $shortcode_list; }); add_filter(“shortcode_list”, function ($shortcode_list) { $shortcode_list[“slugB”] = … Read more