apply_filters( 'Bp_Search_Activities_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’)

Description

ORDER BY a.date_recorded DESC LIMIT 0, 21

Source

File: bp-search/classes/class-bp-search-activities.php

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.