WPDev.one
Core PHP Functions

Functions Reference

4125+ PHP functions available in the WordPress global namespace. Complete documentation with parameters, return values, and usage examples.

Showing 1701 to 1750 of 4125 functions (Page 35 of 83)
timer_stop()

Retrieves or displays the time from the page start to when function is called.

$display $precision
wp_debug_mode()

Sets PHP error reporting based on WordPress debug settings.

wp_set_lang_dir()

Sets the location of the language directory.

require_wp_db()

Loads the database class file and instantiates the `$wpdb` global.

wp_set_wpdb_vars()

Sets the database table prefix and the format specifiers for database

wp_using_ext_object_cache()

Toggles `$_wp_using_ext_object_cache` on and off without directly

$using
wp_start_object_cache()

Starts the WordPress object cache.

wp_not_installed()

Redirects to the installer if WordPress is not installed.

wp_get_mu_plugins()

Retrieves an array of must-use plugin files.

wp_get_active_and_valid_plugins()

Retrieves an array of active and valid plugin files.

wp_skip_paused_plugins()

Filters a given list of plugins, removing any paused plugins from it.

$plugins
wp_get_active_and_valid_themes()

Retrieves an array of active and valid themes.

wp_skip_paused_themes()

Filters a given list of themes, removing any paused themes from it.

$themes
wp_is_recovery_mode()

Determines whether WordPress is in Recovery Mode.

is_protected_endpoint()

Determines whether we are currently on an endpoint that should be protected against WSODs.

is_protected_ajax_action()

Determines whether we are currently handling an Ajax action that should be protected against WSODs.

wp_set_internal_encoding()

Sets internal encoding.

wp_magic_quotes()

Adds magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`.

shutdown_action_hook()

Runs just before PHP shuts down execution.

wp_clone()

Clones an object.

$input_object
is_login()

Determines whether the current request is for the login screen.

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_network_admin()

Determines whether the current request is for the network administrative interface.

is_user_admin()

Determines whether the current request is for a user admin screen.

is_multisite()

Determines whether Multisite is enabled.

absint()

Converts a value to non-negative integer.

$maybeint
get_current_blog_id()

Retrieves the current site ID.

get_current_network_id()

Retrieves the current network ID.

wp_load_translations_early()

Attempts an early load of translations.

wp_installing()

Checks or sets whether WordPress is in "installation" mode.

$is_installing
is_ssl()

Determines if SSL is used.

wp_convert_hr_to_bytes()

Converts a shorthand byte value to an integer byte value.

$value
wp_is_ini_value_changeable()

Determines whether a PHP ini value is changeable at runtime.

$setting
wp_doing_ajax()

Determines whether the current request is a WordPress Ajax request.

wp_using_themes()

Determines whether the current request should use themes.

wp_doing_cron()

Determines whether the current request is a WordPress cron request.

is_wp_error()

Checks whether the given variable is a WordPress Error.

$thing
wp_is_file_mod_allowed()

Determines whether file modifications are allowed.

$context
wp_start_scraping_edited_file_errors()

Starts scraping edited file errors.

wp_finalize_scraping_edited_file_errors()

Finalizes scraping for edited file errors.

$scrape_key
wp_is_json_request()

Checks whether current request is a JSON request, or is expecting a JSON response.

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.

$media_type
wp_is_xml_request()

Checks whether current request is an XML request, or is expecting an XML response.

wp_is_site_protected_by_basic_auth()

Checks if this site is protected by HTTP Basic Auth.

$context
wptexturize()

Replaces common plain text characters with formatted entities.

$text $reset
wptexturize_primes()

Implements a logic tree to determine whether or not "7'." represents seven feet,

$haystack $needle $prime +2 more
_wptexturize_pushpop_element()

Searches for disabled element tags. Pushes element to stack on tag open

$text $stack $disabled_elements
wpautop()

Replaces double line breaks with paragraph elements.

$text $br