bbp_suggest_topic_count
bbp_suggest_topic_count
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_suggest_topic_count') is found 1 times:
- /includes/admin/classes/class-bbp-admin.php line 918
// Check the ajax nonce check_ajax_referer( 'bbp_suggest_topic_nonce' ); // Allow the maximum number of results to be filtered $number = (int) apply_filters( 'bbp_suggest_topic_count', 10 ); // Try to get some topics $topics = get_posts( array( 's' => bbp_db()->esc_like( $_REQUEST['q'] ), 'post_type' => bbp_get_topic_post_type(), 'posts_per_page' => $number,