Created
January 31, 2014 18:58
-
-
Save ckpicker/8740668 to your computer and use it in GitHub Desktop.
Community Events Add-on 3.4 // Hide Image Upload Section for Event Submissions
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( 'wp_head', 'community_add_css' ); | |
function community_add_css() { | |
if (tribe_is_community_edit_event_page() || tribe_is_community_my_events_page()) { | |
?> | |
<style> | |
#event_image_uploader {display:none !important;} | |
</style> | |
<?php | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment