wp_installing

SummerySummery

Check or set whether WordPress is in “installation” mode.

Syntax

wp_installing( bool $is_installing = null )

DescriptionDescription

If the WP_INSTALLING constant is defined during the bootstrap, wp_installing() will default to true.

ParametersParameters

$is_installing

(bool) (Optional) True to set WP into Installing mode, false to turn Installing mode off. Omit this parameter if you only want to fetch the current status.

Default value: null

ReturnReturn

(bool) True if WP is installing, otherwise false. When a $is_installing is passed, the function will report whether WP was in installing mode prior to the change to $is_installing.

SourceSource

File: wp-includes/load.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top