Skip to content

Instantly share code, notes, and snippets.

@Oceas
Created May 6, 2016 20:30
Show Gist options
  • Save Oceas/e61530549af5414cd7dffebbf376ba5d to your computer and use it in GitHub Desktop.
Save Oceas/e61530549af5414cd7dffebbf376ba5d to your computer and use it in GitHub Desktop.
add_shortcode('short_code_name', 'short_code_function');
function short_code_function() {
return "Returned string from short code";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment