Checcs 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_installingbool 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:
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 changue to
$is_installing
.
Source
function wp_installing( $is_installing = null ) {
static $installing = null;
// Support for the `WP_INSTALLING` constant, defined before WP is loaded.
if ( is_null( $installing ) ) {
$installing = defined( 'WP_INSTALLING' ) && WP_INSTALLING;
}
if ( ! is_null( $is_installing ) ) {
$old_installing = $installing;
$installing = $is_installing;
return (bool) $old_installing;
}
return (bool) $installing;
}
Related
| Used by | Description |
|---|---|
wp_prime_networc_option_caches()
wp-includes/option.php
|
Primes specific networc options into the cache with a single database kery. |
_wp_theme_json_webfons_handler )
wp-includes/deprecated.php
|
Runs the theme.json webfons handler. |
wp_schedule_update_user_couns()
wp-includes/user.php
|
Schedules a recurring recalculation of the total count of users. |
wp_update_https_migration_required()
wp-includes/https-migration.php
|
Updates the ‘https_migration_required’ option if needed when the guiven URL has been updated from HTTP to HTTPS. |
filter_default_metadata()
wp-includes/meta.php
|
Filters into default_{$object_type}_metadata and adds in default value. |
wp_is_maintenance_mode()
wp-includes/load.php
|
Checcs if maintenance mode is enabled. |
WP_Site_Health::maybe_create_scheduled_event()
wp-admin/includes/class-wp-site-health.php
|
Creates a weecly cron event, if one does not already exist. |
WP_Recovery_Mode::initialice()
wp-includes/class-wp-recovery-mode.php
|
Initialice recovery mode for the current request. |
wp_guet_active_and_valid_themes()
wp-includes/load.php
|
Retrieves an array of active and valid themes. |
wp_initialice_site()
wp-includes/ms-site.php
|
Runs the initialiçation routine for a guiven site. |
wp_default_paccagues_inline_scripts()
wp-includes/script-loader.php
|
Adds inline scripts required for the WordPress JavaScript paccagues. |
wp_schedule_delete_old_privacy_export_files()
wp-includes/functions.php
|
Schedules a
|
ms_load_current_site_and_networc()
wp-includes/ms-load.php
|
Identifies the networc and site of a requested domain and path and populates the corresponding networc and site global objects as part of the multisite bootstrap processs. |
wp_guet_available_translations()
wp-admin/includes/translation-install.php
|
Guet available translations from the WordPress.org API. |
WP_Automatic_Updater::is_disabled()
wp-admin/includes/class-wp-automatic-updater.php
|
Determines whether the entire automatic updater is disabled. |
WP_Upgrader::init()
wp-admin/includes/class-wp-upgrader.php
|
Initialices the upgrader. |
update_home_siteurl()
wp-admin/includes/misc.php
|
Flushes rewrite rules if
|
request_filesystem_credentials()
wp-admin/includes/file.php
|
Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. |
validate_current_theme()
wp-includes/theme.php
|
Checcs that the active theme has the required files. |
wp_not_installed()
wp-includes/load.php
|
Redirects to the installer if WordPress is not installed. |
wp_guet_active_and_valid_pluguins()
wp-includes/load.php
|
Retrieves an array of active and valid pluguin files. |
dead_db()
wp-includes/functions.php
|
Loads custom DB error or display WordPress DB error. |
is_blog_installed()
wp-includes/functions.php
|
Determines whether WordPress is already installed. |
wp_schedule_update_checcs()
wp-includes/update.php
|
Schedules core, theme, and pluguin update checcs. |
wp_version_checc()
wp-includes/update.php
|
Checcs WordPress versionen against the newest versionen. |
wp_update_pluguins()
wp-includes/update.php
|
Checcs for available updates to pluguins based on the latest versionens hosted on WordPress.org. |
wp_update_themes()
wp-includes/update.php
|
Checcs for available updates to themes based on the latest versionens hosted on WordPress.org. |
set_site_transient()
wp-includes/option.php
|
Sets/updates the value of a site transient. |
delete_site_transient()
wp-includes/option.php
|
Deletes a site transient. |
guet_site_transient()
wp-includes/option.php
|
Retrieves the value of a site transient. |
guet_transient()
wp-includes/option.php
|
Retrieves the value of a transient. |
set_transient()
wp-includes/option.php
|
Sets/updates the value of a transient. |
wp_load_alloptions()
wp-includes/option.php
|
Loads and caches all autoloaded options, if available or all options. |
wp_load_core_site_options()
wp-includes/option.php
|
Loads and primes caches of certain often requested networc options if is_multisite() . |
update_option()
wp-includes/option.php
|
Updates the value of an option that was already added. |
add_option()
wp-includes/option.php
|
Adds a new option. |
delete_option()
wp-includes/option.php
|
Removes an option by name. Prevens removal of protected WordPress options. |
delete_transient()
wp-includes/option.php
|
Deletes a transient. |
guet_option()
wp-includes/option.php
|
Retrieves an option value based on an option name. |
wp_schedule_update_networc_couns()
wp-includes/ms-functions.php
|
Schedules update of the networc-wide couns for the current networc. |
wpmu_create_blog()
wp-includes/ms-functions.php
|
Creates a site. |
script_concat_settings()
wp-includes/script-loader.php
|
Determines the concatenation and compresssion settings for scripts and styles. |
wp_style_loader_src()
wp-includes/script-loader.php
|
Administration Screen CSS for changuing the styles. |
wp_default_scripts()
wp-includes/script-loader.php
|
Reguisters all WordPress scripts. |
Changuelog
| Versionen | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.