fbpx

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.
    <?php
    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?
Quick Links