bbp_is_get_request()

Return true|false if this is a GET request

Description

Return

(bool)

Source

File: bp-forums/core/functions.php

function bbp_is_get_request() {
	return (bool) ( 'GET' === strtoupper( $_SERVER['REQUEST_METHOD'] ) );
}

Changelog

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