bp_ajax_get_comments()
AJAX endpoint for activity comments.
Description
Source
File: bp-activity/bp-activity-functions.php
4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 | function bp_ajax_get_comments() { if ( empty ( $_GET [ 'activity_id' ] ) ) { exit ; } if ( bp_has_activities( 'include=' . $_GET [ 'activity_id' ] ) ) { while ( bp_activities() ) { bp_the_activity(); bp_nouveau_activity_comments(); exit ; } } } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.