skip to Main Content

Add Social Sharing On The Events Calendar Plugin Events

// Add social share to event hook
// If you want to place in another hook locate your hook of choice:
add_action( 'tribe_events_after_html', 'wpex_social_share', 99 );

// Enable events social share
function myprefix_enable_events_social_share( $bool ) {
	if ( is_singular( 'tribe_events' ) ) {
		$bool = true;
	return $bool;
add_filter( 'wpex_has_social_share', 'myprefix_enable_events_social_share', 99 );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top