Skip to:
Content
Pages
Categories
Search
Top
Bottom

Filtering table_name_notifications


  • shawfactor
    Participant

    @shawfactor

    Guys,

    am running a buddypress network and I want to share some tables but not others (I have my reasons). I’ve enabled BP_ENABLE_MULTIBLOG and have it working perfectly through the filters I have addeds for global_tables and meta_tables for each active component I want share. eg

    add_filter(‘bp_messages_global_tables’,’bp_custom_use_global_tables’);
    add_filter(‘bp_messages_meta_tables’,’bp_custom_use_global_tables’);

    However it looks like the core component uses $bp->core->table_name_notifications in a number of places so occasionally the local notification table is being used (and I want to use a global table in all cases for notiifications). I cant find any documentation on how to filter that one.

    Can you please tell me how I can override this so that notications are always added to the global table?

    Pete

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar