BP_REST_Media_Details_Endpoint::bp_rest_media_object_results_media_all_scope( array $querystring )

Media results all scope.

Description

Parameters

$querystring

(array) (Required) Query String parameters.

Return

(string)

Source

File: bp-media/classes/class-bp-rest-media-details-endpoint.php

	public function bp_rest_media_object_results_media_all_scope( $querystring ) {
		$querystring = wp_parse_args( $querystring );

		$querystring['scope'] = $this->media_endpoint->bp_rest_media_default_scope( 'all', array() );

		$querystring['page']        = 1;
		$querystring['per_page']    = 1;
		$querystring['user_id']     = 0;
		$querystring['count_total'] = true;

		return http_build_query( $querystring );
	}

Changelog

Changelog
Version Description
0.1.0 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.