bbp_get_view_query_args( string $view )

Return the view’s query arguments

Description

Parameters

$view

(Required) View name

Return

(array) Query arguments

Source

File: bp-forums/core/functions.php

function bbp_get_view_query_args( $view ) {
	$view   = bbp_get_view_id( $view );
	$retval = !empty( $view ) ? bbpress()->views[$view]['query'] : false;

	return apply_filters( 'bbp_get_view_query_args', $retval, $view );
}

Changelog

Changelog
Version Description
bbPress (r2789) 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.