WP::main

SummerySummery

Sets up all of the variables required by the WordPress environment.

Syntax

WP::main( string|array $query_args = '' )

DescriptionDescription

The action ‘wp’ has one parameter that references the WP object. It allows for accessing the properties and methods to further manipulate the object.

ParametersParameters

$query_args

(string|array) (Optional) Passed to parse_request().

Default value: ''

SourceSource

File: wp-includes/class-wp.php


			

ChangelogChangelog

Changelog
Version Description
2.0.0 Introduced.
Scroll to Top