File: bp-search/classes/class-bp-search-activity-comments.php
Description
Bp_Search_Activity_Comment

BuddyPress Global Search – search activity comment class

Source: bp-search/classes/class-bp-search-activity-comments.php:17

Bp_Search_Activity_Comment::instance()

Insures that only one instance of Class exists in memory at any one time. Also prevents needing to define globals all over the place.

Source: bp-search/classes/class-bp-search-activity-comments.php:28

Bp_Search_Activity_Comment::__construct()

A dummy constructor to prevent this class from being loaded more than once.

Source: bp-search/classes/class-bp-search-activity-comments.php:46

Bp_Search_Activity_Comment::sql()

Source: bp-search/classes/class-bp-search-activity-comments.php:50

Bp_Search_Activity_Comment_sql

SELECT DISTINCT a.id FROM wp_bp_activity a WHERE a.is_spam = 0 AND a.content LIKE ‘%nothing%’ AND a.hide_sitewide = 0 AND a.type NOT IN (‘activity_comment’, ‘last_activity’)

Source: bp-search/classes/class-bp-search-activity-comments.php:139

Bp_Search_Activity_Comment::generate_html()

Source: bp-search/classes/class-bp-search-activity-comments.php:149