-
-
Save barryhughes/dc499b06a6843d3efe72 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 venue posts. | |
* | |
* @param array $args | |
* @return array | |
*/ | |
function tribe_venues_custom_field_support( $args ) { | |
$args['supports'][] = 'custom-fields'; | |
return $args; | |
} | |
add_filter( 'tribe_events_register_venue_type_args', 'tribe_venues_custom_field_support' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment