Checks or sets whether WordPress is in "installation" mode.
Description
If the WP_INSTALLING constant is defined during the bootstrap, wp_installing() will default to true.
Parameters
$is_installingbooloptional
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: null
Return
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.
ms_load_current_site_and_network()Identifies the network and site of a requested domain and path and populates the corresponding network and site global objects as part of the multisite bootstrap process.
request_filesystem_credentials()Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem.
script_concat_settings()Determines the concatenation and compression settings for scripts and styles.
1633functionwp_installing($is_installing=null){1634static$installing=null;16351636// Support for the `WP_INSTALLING` constant, defined before WP is loaded.1637if(is_null($installing)){1638$installing=defined('WP_INSTALLING')&&WP_INSTALLING;1639}16401641if(!is_null($is_installing)){1642$old_installing=$installing;1643$installing=$is_installing;16441645return(bool)$old_installing;1646}16471648return(bool)$installing;1649}
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/load.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.