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.
    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?
How Can We Improve This Article?
Previous How to delete an expired event by time
Next How to display additional custom fields on a single event page?
Quick Links