BuddyPress Test Drive

  • Community
    • Activity
    • Groups
    • Members
  • News
  • About
  • Support
  • Profile picture of techkapil

    techkapil posted an update in the group Group logoBuddyPressDEV Developers' Community: 1 year, 11 months ago

    To add Custom component activity (like group), where should custom components activity be stored? in wp_bp_activity table with custom_component under ’component’ attribute OR a seperate table??
    Is there ’bp_wire_new_post’ kind of function (as it was in bp1.1.x) exist, through which I can send component name and table name??

    • Profile picture of techkapil
      techkapil replied 1 year, 11 months ago

      Ohh…
      Got it now :-)
      ’wp_ajax_post_update’ in ajax.php and ’bp_activity_add’ will do.
      If anybody looking for same, check out how groups activity is working.
      Cheers..! ;-)

Proudly powered by WordPress and BuddyPress.

    • WordPress.org
    • Documentation
    • Support Forums
    • Feedback
  • Log in
  • Register