File: wp-includes/load.php
-
functionwp_is_file_mod_allowed()
Determines whether file modifications are allowed.
-
functionwp_doing_ajax()
Determines whether the current request is a WordPress Ajax request.
-
hookwp_doing_ajax
Filters whether the current request is a WordPress Ajax request.
-
functionwp_is_ini_value_changeable()
Determines whether a PHP ini value is changeable at runtime.
-
functionget_current_network_id()
Retrieves the current network ID.
-
Filters whether to enable maintenance mode.
-
Filters whether to allow the debug mode check to occur.
-
functionwp_installing()
Checks or sets whether WordPress is in “installation” mode.
-
functionwp_get_server_protocol()
Returns the HTTP protocol sent by the server.
-
functionshutdown_action_hook()
Runs just before PHP shuts down execution.
-
hookshutdown
Fires just before PHP shuts down execution.
-
functionwp_clone()
Clones an object.
-
functionis_admin()
Determines whether the current request is for an administrative interface page.
-
functionis_blog_admin()
Determines whether the current request is for a site’s administrative interface.
-
functionis_network_admin()
Determines whether the current request is for the network administrative interface.
-
functionis_user_admin()
Determines whether the current request is for a user admin screen.
-
functionis_multisite()
Determines whether Multisite is enabled.
-
functionget_current_blog_id()
Retrieves the current site ID.
-
functionwp_set_internal_encoding()
Sets internal encoding.
-
functionwp_load_translations_early()
Attempts an early load of translations.
-
functionwp_magic_quotes()
Adds magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`.
-
functionwp_set_lang_dir()
Sets the location of the language directory.
-
functionrequire_wp_db()
Loads the database class file and instantiates the `$wpdb` global.
-
functionwp_set_wpdb_vars()
Sets the database table prefix and the format specifiers for database table columns.
-
functionwp_using_ext_object_cache()
Toggles `$_wp_using_ext_object_cache` on and off without directly touching global.
-
functionwp_fix_server_vars()
Fixes `$_SERVER` variables for various setups.
-
functionwp_start_object_cache()
Starts the WordPress object cache.
-
functionwp_check_php_mysql_versions()
Checks for the required PHP version, and the mysqli extension or a database drop-in.
-
functionwp_not_installed()
Redirects to the installer if WordPress is not installed.
-
functionwp_favicon_request()
Ensures all of WordPress is not loaded when handling a favicon.ico request.