wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/load.php › WordPress File
Functions55
› These functions are needed to load WordPress.
Function | Short description |
---|---|
get_current_blog_id | Retrieve 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 | If 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 | Load the database class file and instantiate the `$wpdb` global. |
shutdown_action_hook | Runs just before PHP shuts down execution. |
timer_float | Get the time elapsed so far during this PHP script. |
timer_start | Start the WordPress micro-timer. |
timer_stop | Retrieve or display the time from the page start to when function is called. |
wp_check_php_mysql_versions | Check for the required PHP version, and the MySQL extension or a database drop-in. |
wp_clone | Copy an object. |
wp_convert_hr_to_bytes | Converts a shorthand byte value to an integer byte value. |
wp_debug_mode | Set 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 | Don't load all of WordPress when handling a favicon.ico request. |
wp_finalize_scraping_edited_file_errors | Finalize scraping for edited file errors. |
wp_fix_server_vars | Fix `$_SERVER` variables for various setups. |
wp_get_active_and_valid_plugins | Retrieve an array of active and valid plugin files. |
wp_get_active_and_valid_themes | Retrieves an array of active and valid themes. |
wp_get_environment_type | Retrieves the current environment type. |
wp_get_mu_plugins | Retrieve an array of must-use plugin files. |
wp_get_server_protocol | Return the HTTP protocol sent by the server. |
wp_installing | Check or set whether WordPress is in "installation" 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 | Check if maintenance mode is enabled. |
wp_is_recovery_mode | Is WordPress 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 | Attempt an early load of translations. |
wp_magic_quotes | Add magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`. |
wp_maintenance | Die with a maintenance message when conditions are met. |
wp_not_installed | Redirect 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 | Set internal encoding. |
wp_set_lang_dir | Set the location of the language directory. |
wp_set_wpdb_vars | Set 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 | Start the WordPress object cache. |
wp_start_scraping_edited_file_errors | Start scraping edited file errors. |
wp_using_ext_object_cache | Toggle `$_wp_using_ext_object_cache` on and off without directly touching global. |
wp_using_themes | Determines whether the current request should use themes. |