If you add a shortcode programmatically, but the code isn’t viewed on that request, is it still executed?

Question

Is it expected behavior that the callback of a shortcode is executed even if the result isn’t returned, or do shortcodes only execute when they are displayed?

0
John Dee 4 years 2019-11-28T07:20:06-05:00 0 Answers 53 views 0

Leave an answer

Browse
Browse