fbpx
Enjoy the biggest Cyber Monday sale of the year with WP Event Manager. GET FLAT 20% ON EVERYTHING.Coupon Code: CM2023 shop Now
How can we help?

How to Disable Social Media share links?

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 following 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;
    }
    
Quick Links
Close