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 251 to 300 of 4125 functions (Page 6 of 83)
remove_allowed_options()

Removes a list of options from the allowed options list.

$del_options $options
settings_fields()

Outputs nonce, action, and option_page fields for a settings page.

$option_group
wp_clean_plugins_cache()

Clears the plugins cache used by get_plugins() and by default, the plugin updates cache.

$clear_update_cache
plugin_sandbox_scrape()

Loads a given plugin attempt to generate errors.

$plugin
wp_add_privacy_policy_content()

Declares a helper function for adding content to the Privacy Policy Guide.

$plugin_name $policy_text
is_plugin_paused()

Determines whether a plugin is technically active but was paused while

$plugin
wp_get_plugin_error()

Gets the error that was recorded for a paused plugin.

$plugin
resume_plugin()

Tries to resume a single plugin.

$plugin $redirect
paused_plugins_notice()

Renders an admin notice in case some plugins have been paused due to errors.

deactivated_plugins_notice()

Renders an admin notice when a plugin was deactivated during an update.

delete_theme()

Removes a theme.

$stylesheet $redirect
get_page_templates()

Gets the page templates available in this theme.

$post $post_type
_get_template_edit_filename()

Tidies a filename for url display by the theme file editor.

$fullpath $containingfolder
theme_update_available()

Check if there is an update for a theme available.

$theme
get_theme_update_available()

Retrieves the update link if there is a theme update available.

$theme
get_theme_feature_list()

Retrieves list of WordPress theme features (aka theme tags).

$api
themes_api()

Retrieves theme installer pages from the WordPress.org Themes API.

$action $args
wp_prepare_themes_for_js()

Prepares themes for JavaScript.

$themes
customize_themes_print_templates()

Prints JS templates for the theme-browsing UI in the Customizer.

is_theme_paused()

Determines whether a theme is technically active but was paused while

$theme
wp_get_theme_error()

Gets the error that was recorded for a paused theme.

$theme
resume_theme()

Tries to resume a single theme.

$theme $redirect
paused_themes_notice()

Renders an admin notice in case some themes have been paused due to errors.

add_user()

Creates a new user from the "Users" form using $_POST information.

edit_user()

Edit user settings based on contents of $_POST

$user_id
get_editable_roles()

Fetch a filtered list of user roles that the current user is

get_user_to_edit()

Retrieve user data and filter it.

$user_id
get_users_drafts()

Retrieve the user's drafts.

$user_id
wp_delete_user()

Delete user and optionally reassign posts and links to another user.

$id $reassign
wp_revoke_user()

Remove all capabilities from user.

$id
default_password_nag_handler()
$errors
default_password_nag_edit_user()
$user_ID $old_data
default_password_nag()
delete_users_add_js()
use_ssl_preference()

Optional SSL preference that can be turned on by hooking to the 'personal_options' action.

$user
admin_created_user_email()
$text
wp_is_authorize_application_password_request_valid()

Checks if the Authorize Application Password request is valid.

$request $user
wp_is_authorize_application_redirect_url_valid()

Validates the redirect URL protocol scheme. The protocol can be anything except `http` and `javascript`.

$url
update_core()

Upgrades the core of WordPress.

$from $to
_preload_old_requests_classes_and_interfaces()

Preloads old Requests classes and interfaces.

$to
_redirect_to_about_wordpress()

Redirect to the About WordPress page after a successful upgrade.

$new_version
_upgrade_422_remove_genericons()

Cleans up Genericons example files.

_upgrade_422_find_genericons_files_in_folder()

Recursively find Genericons example files in a given folder.

$directory
_upgrade_440_force_deactivate_incompatible_plugins()
_upgrade_core_deactivate_incompatible_plugins()
_get_list_table()

Fetches an instance of a WP_List_Table class.

$class_name $args
register_column_headers()

Register column headers for a particular screen.

$screen $columns
print_column_headers()

Prints column headers for a particular screen.

$screen $with_id
wpmu_menu()

Outputs the WPMU menu.

wpmu_checkAvailableSpace()

Determines if the available space defined by the admin has been exceeded by the user.