The following code can be implemented in the functions.php file of the child theme to hide the Social Media share links on specific events.
1. Open your child theme,
2. Add the code into the functions.php file.
add_filter( 'event_manager_event_friend_share', 'wpem_event_manager_event_friend_share' );
function wpem_event_manager_event_friend_share()
{
return false;
}
Code Used in this video - [ Ссылка ]
For more details - [ Ссылка ]
Download Free WP Event Manager Addon - [ Ссылка ]
More info about WP Event Manager: [ Ссылка ]
WP Event Manager Channel: [ Ссылка ]
🙋♂️ Have a question? Leave a comment below and I’ll do my best to respond.
Facebook: [ Ссылка ]
Twitter: [ Ссылка ]
Linkedin: [ Ссылка ]
Github: [ Ссылка ]
Ещё видео!