• Resolved fmpweb

    (@fmpweb)


    Hi – I’m working on a BuddyPress element to my site but don’t want to have the Events Manager integration. How can I disable EM completely with BP – so that it:
    – doesn’t post events to the activity stream
    – that all reference to EM in the activity dropdown box disappear
    – that all tabs referencing EM disappear.

    I do want to continue to use EM on the main site.

    Now, I’ve tried to work out how to do this using remove_action( ‘bp_include’, ‘bp_em_init’ ); as highlighted in the post, but I can’t fathom it out.

    Could someone suggest some code that I need to include in my functionality plugin, please?

    Thanks. Gavin.

    https://ww.wp.xz.cn/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Thread Starter fmpweb

    (@fmpweb)

    Okay – this seems to work:

    remove_action( 'bp_init', 'bp_em_init' );
    remove_action( 'bp_include', 'bp_em_init' );

    Just add as above and all reference to EM disappear and EM posts are not added to the activity stream.

Viewing 1 replies (of 1 total)

The topic ‘BuddyPress: Disable Events Manager’ is closed to new replies.