wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/load.php › WordPress File
Functions58
› These functions are needed to load WordPress.
Function | Short description |
---|---|
absint | Converts a value to non-negative integer. |
get_current_blog_id | Retrieves the current site ID. |
get_current_network_id | Retrieves the current network ID. |
is_admin | Determines whether the current request is for an administrative interface page. |
is_blog_admin | Determines whether the current request is for a site's administrative interface. |
is_login | Determines whether the current request is for the login screen. |
is_multisite | Determines whether Multisite is enabled. |
is_network_admin | Determines whether the current request is for the network administrative interface. |
is_protected_ajax_action | Determines whether we are currently handling an Ajax action that should be protected against WSODs. |
is_protected_endpoint | Determines whether we are currently on an endpoint that should be protected against WSODs. |
is_ssl | Determines if SSL is used. |
is_user_admin | Determines whether the current request is for a user admin screen. |
is_wp_error | Checks whether the given variable is a WordPress Error. |
require_wp_db | Loads the database class file and instantiates the `$wpdb` global. |
shutdown_action_hook | Runs just before PHP shuts down execution. |
timer_float | Gets the time elapsed so far during this PHP script. |
timer_start | Starts the WordPress micro-timer. |
timer_stop | Retrieves or displays the time from the page start to when function is called. |
wp_check_php_mysql_versions | Checks for the required PHP version, and the mysqli extension or a database drop-in. |
wp_clone | Clones an object. |
wp_convert_hr_to_bytes | Converts a shorthand byte value to an integer byte value. |
wp_debug_mode | Sets PHP error reporting based on WordPress debug settings. |
wp_doing_ajax | Determines whether the current request is a WordPress Ajax request. |
wp_doing_cron | Determines whether the current request is a WordPress cron request. |
wp_favicon_request | Ensures all of WordPress is not loaded when handling a favicon.ico request. |
wp_finalize_scraping_edited_file_errors | Finalizes scraping for edited file errors. |
wp_fix_server_vars | Fixes `$_SERVER` variables for various setups. |
wp_get_active_and_valid_plugins | Retrieves an array of active and valid plugin files. |
wp_get_active_and_valid_themes | Retrieves an array of active and valid themes. |
wp_get_development_mode | Retrieves the current development mode. |
wp_get_environment_type | Retrieves the current environment type. |
wp_get_mu_plugins | Retrieves an array of must-use plugin files. |
wp_get_server_protocol | Returns the HTTP protocol sent by the server. |
wp_installing | Checks or sets whether WordPress is in "installation" mode. |
wp_is_development_mode | Checks whether the site is in the given development mode. |
wp_is_file_mod_allowed | Determines whether file modifications are allowed. |
wp_is_ini_value_changeable | Determines whether a PHP ini value is changeable at runtime. |
wp_is_jsonp_request | Checks whether current request is a JSONP request, or is expecting a JSONP response. |
wp_is_json_media_type | Checks whether a string is a valid JSON Media Type. |
wp_is_json_request | Checks whether current request is a JSON request, or is expecting a JSON response. |
wp_is_maintenance_mode | Checks if maintenance mode is enabled. |
wp_is_recovery_mode | Determines whether WordPress is in Recovery Mode. |
wp_is_site_protected_by_basic_auth | Checks if this site is protected by HTTP Basic Auth. |
wp_is_xml_request | Checks whether current request is an XML request, or is expecting an XML response. |
wp_load_translations_early | Attempts an early load of translations. |
wp_magic_quotes | Adds magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`. |
wp_maintenance | Dies with a maintenance message when conditions are met. |
wp_not_installed | Redirects to the installer if WordPress is not installed. |
wp_populate_basic_auth_from_authorization_header | Populates the Basic Auth server details from the Authorization header. |
wp_set_internal_encoding | Sets internal encoding. |
wp_set_lang_dir | Sets the location of the language directory. |
wp_set_wpdb_vars | Sets the database table prefix and the format specifiers for database table columns. |
wp_skip_paused_plugins | Filters a given list of plugins, removing any paused plugins from it. |
wp_skip_paused_themes | Filters a given list of themes, removing any paused themes from it. |
wp_start_object_cache | Starts the WordPress object cache. |
wp_start_scraping_edited_file_errors | Starts scraping edited file errors. |
wp_using_ext_object_cache | Toggles `$_wp_using_ext_object_cache` on and off without directly touching global. |
wp_using_themes | Determines whether the current request should use themes. |