May 22, 2016

wordpress shortcode to force return instead of output

wordpress shortcode to force return instead of output

https://codex.wordpress.org/Shortcode_API
function my_shortcode() {
ob_start();
?> <HTML> <here> ... <?php
return ob_get_clean();
}

Last updated: May 22, 2016