Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function my_shortcode_function() {
$i = '<p>Hello World!</p>';
return $i;
}
add_shortcode('my-shortcode', 'my_shortcode_function');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment