Created
December 8, 2014 18:08
-
-
Save geoffgraham/81479f4ebe4dc6bdbae7 to your computer and use it in GitHub Desktop.
Events Calendar // Add content before the calendar
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
add_action( 'tribe_events_before_html', 'output_custom_code' ); | |
function output_custom_code() { | |
// Check if displaying month view | |
if( tribe_is_month() ) { | |
echo 'Your custom code to display.'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment