Created
January 27, 2014 13:41
-
-
Save ckpicker/8648753 to your computer and use it in GitHub Desktop.
Community Events 3.4 // Hide Organizer dropdowns on Community Add/Edit form
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_footer', 'community_add_javascript' ); | |
function community_add_javascript() { | |
if (tribe_is_community_edit_event_page()) { | |
?> | |
<script type="text/javascript"> | |
//Hide organizer dropdown | |
jQuery('#event_organizer tr:eq(1)').hide(); | |
</script> | |
<?php | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment