How do I use a plugin’s shortcode attribute value in another function?
This isn’t how PHP works. A PHP class is not persistent, so setting a property when a shortcode is output is not going to affect subsequent AJAX requests, since the class instance is recreated on each request. If you have a shortcode that has an “outlet” property that the user can use like this: [wp_example_search … Read more