WP_REST_Request::offsetExists

Advertisement

Summery Summery

Checks if a parameter is set.

Syntax Syntax

WP_REST_Request::offsetExists( string $offset )

Parameters Parameters

$offset

(string) (Required) Parameter name.

Return Return

(bool) Whether the parameter is set.

Source Source

File: wp-includes/rest-api/class-wp-rest-request.php

		}

		return true;

	}

	/**
	 * Checks if a parameter is set.
	 *
	 * @since 4.4.0
	 *

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.