Created
June 3, 2015 22:33
-
-
Save barryhughes/f7cce65e5aa0c5a50a64 to your computer and use it in GitHub Desktop.
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
/** | |
* Enable custom field support for organizer posts. | |
* | |
* @param array $args | |
* @return array | |
*/ | |
function tribe_organizers_custom_field_support( $args ) { | |
$args['supports'][] = 'custom-fields'; | |
return $args; | |
} | |
add_filter( 'tribe_events_register_organizer_type_args', 'tribe_organizers_custom_field_support' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment