Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add_action( 'wp_head', 'custom_event_meta' );
function custom_event_meta(){
// reregister meta (this will merge settings into the original registered settings)
tribe_register_meta(
'tribe_event_website', array(
'classes' => array( 'meta_before' => array( 'url' ) ),
'label' => __( 'Register Here:' ),
'register_overwrite' => true, // set to TRUE in order to overwrite the core registration
'filter_callback' => array('Tribe_Register_Meta', 'event_website'),
'priority' => 50,
'group' => 'tribe_event_details'
)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment