bbp_has_replies_query

  • apply_filters( 'bbp_has_replies_query', $bbp_r )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 123
      	// Merge the default args and parent args together
      	if ( isset( $parent_args ) )
      		$default = array_merge( $parent_args, $default );
      
      	// Set up topic variables
      	$bbp_r = wp_parse_args( $args, $default );
      
      	// Filter the replies query to allow just-in-time modifications
      	$bbp_r = apply_filters( 'bbp_has_replies_query', $bbp_r );
      
      	// Extract the query variables
      	extract( $bbp_r );
      
      	// Call the query
      	$bbp->reply_query = new WP_Query( $bbp_r );
      
      	// Add pagination values to query object
      	$bbp->reply_query->posts_per_page = $posts_per_page;
      	$bbp->reply_query->paged          = $paged;
      

Comments are closed.