fbpx
Diwali Offer 20% offUse Coupon Code Diwali2021 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 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;
    }
    
Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Quick Links