Skip to content

Instantly share code, notes, and snippets.

Created May 16, 2016 12:13
What would you like to do?
add_shortcode('five-o-clock', 'five_o_clock_here');
//Shortcode function that accepts attributes
function five_o_clock_here($atts) {
return "It's 5 o' clock " . $atts["where"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment