WordPress plugin intelligence profile

WP Request

Get all sorts of info about the current request from WP Request.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.1
Current version1.0.0
WordPress coverageTested up to WordPress 5.1
Minimum stackWP 4.6 · PHP 5.2.4
Directory statusactive
Last directory update10 Apr 20197y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Request version 1.0.0 as active, updated 7y ago and tested up to WordPress 5.1.

Overview

About this plugin

The plugin has following shortcodes available:

  • [wph_request_isGet]

Returns whether this is a GET request.

  • [wph_request_isPost]

Returns whether this is a POST request.

  • [wph_request_isDelete]

Returns whether this is a DELETE request.

  • [wph_request_isPut]

Returns whether this is a PUT request.

  • [wph_request_isAjax]

Returns whether this is an Ajax request.

  • [wph_request_isSecure]

Returns whether this is a secure connection.

  • [wph_request_getScriptName]

Returns the script name used to access Index page.

  • [wph_request_getPath]

Returns the request’s URI.

  • [wph_request_getUrl]

Returns the request’s full URL.

  • [wph_request_getSegments]

Returns JSON encoded array of all URI segments.

  • [wph_request_getSegment num=”segment_number”]

Returns a specific URI segment, or null if the segment doesn’t exist.

  • [wph_request_getFirstSegment]

Returns the first URI segment.

  • [wph_request_getLastSegment]

Returns the last URL segment.

  • [wph_request_getParam name=”parameter_name”]

Returns a variable from either the query string or the post data.

  • [wph_request_getQuery name=”parameter_name”]

Returns a variable from the query string.

  • [wph_request_getPost name=”parameter_name”]

Returns a value from post data.

  • [wph_request_getServerName]

Returns the server name.

  • [wph_request_isMobileBrowser]

Returns whether the request is coming from a mobile browser.

  • [wph_request_getHostInfo]

Returns the schema and host part of the application URL.

  • [wph_request_getScriptUrl]

Returns the relative URL of the entry script.

  • [wph_request_getPathInfo]

eturns the path info of the currently requested URL.

  • [wph_request_getRequestUri]

Returns the request URI portion for the currently requested URL.

  • [wph_request_getServerPort]

Returns the server port number.

  • [wph_request_getUrlReferrer]

Returns the URL referrer or null if not present.

  • [wph_request_getUserAgent]

Returns the user agent or null if not present.

  • [wph_request_getUserHostAddress]

Returns the user IP address.

  • [wph_request_getUserHost]

Returns the user host name or null if it cannot be determined.

  • [wph_request_getPort]

Returns the port to use for insecure requests.

  • [wph_request_getQueryString]

Returns part of the request URL that is after the question mark.

  • [wph_request_getQueryStringWithoutPath]

Returns the request’s query string, without the p= parameter.

  • [wph_request_getIpAddress]

Returns the best guess of the client’s actual IP address

  • [wph_request_getClientOs]

Returns whether the client is running “Windows”, “Mac”, “Linux” or “Other”.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • getpath
  • geturl
  • isget
  • ispost
  • issecure
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.1
Minimum requirementsWordPress 4.6 · PHP 5.2.4
Update activity10 Apr 20197y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.