Last active
August 11, 2022 21:19
-
-
Save davidsword/1a590c2a11bb55531ddfc98eb83afee3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
// ✅ will work | |
add_shortcode('rocktheboat', function () { | |
ob_start(); | |
echo " Hello world"; | |
return ob_get_clean(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment