Created
October 28, 2014 21:15
-
-
Save geoffgraham/a2f313966fba362aa066 to your computer and use it in GitHub Desktop.
Events Calendar 3.8.1 // Hook into 'tribe_events_inside_before_loop' action to display custom text for list view
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_inside_before_loop', '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