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 1901 to 1950 of 4125 functions (Page 39 of 83)
signup_nonce_check()

Processes the signup nonce created in signup_nonce_fields().

$result
maybe_redirect_404()

Corrects 404 redirects when NOBLOGREDIRECT is defined.

maybe_add_existing_user_to_blog()

Adds a new user to a blog by visiting /newbloguser/{key}/.

add_existing_user_to_blog()

Adds a user to a blog based on details from maybe_add_existing_user_to_blog().

$details
add_new_user_to_blog()

Adds a newly created user to the appropriate blog

$user_id $password $meta
fix_phpmailer_messageid()

Corrects From host on outgoing mail to match the site domain.

$phpmailer
is_user_spammy()

Determines whether a user is marked as a spammer, based on user login.

$user
update_blog_public()

Updates this blog's 'public' setting in the global blogs table.

$old_value $value
users_can_register_signup_filter()

Determines whether users can self-register, based on Network settings.

welcome_user_msg_filter()

Ensures that the welcome message is not empty. Currently unused.

$text
force_ssl_content()

Determines whether to force SSL on content.

$force
filter_SSL()

Formats a URL to use https.

$url
wp_schedule_update_network_counts()

Schedules update of the network-wide counts for the current network.

wp_update_network_counts()

Updates the network-wide counts for the current network.

$network_id
wp_maybe_update_network_site_counts()

Updates the count of sites for the current network.

$network_id
wp_maybe_update_network_user_counts()

Updates the network-wide users count.

$network_id
wp_update_network_site_counts()

Updates the network-wide site count.

$network_id
wp_update_network_user_counts()

Updates the network-wide user count.

$network_id
get_space_used()

Returns the space used by the current site.

get_space_allowed()

Returns the upload quota for the current blog.

get_upload_space_available()

Determines if there is any upload space left in the current blog's quota.

is_upload_space_available()

Determines if there is any upload space left in the current blog's quota.

upload_size_limit_filter()

Filters the maximum upload file size allowed, in bytes.

$size
wp_is_large_network()

Determines whether or not we have a large network.

$using $network_id
get_subdirectory_reserved_names()

Retrieves a list of reserved site on a sub-directory Multisite installation.

update_network_option_new_admin_email()

Sends a confirmation request email when a change of network admin email address is attempted.

$old_value $value
wp_network_admin_email_change_notification()

Sends an email to the old network admin email address when the network admin email address changes.

$option_name $new_email $old_email +1 more
wp_kses()

Filters text content and strips out disallowed HTML.

$content $allowed_html $allowed_protocols
wp_kses_one_attr()

Filters one HTML attribute and ensures its value is allowed.

$attr $element
wp_kses_allowed_html()

Returns an array of allowed HTML tags and attributes for a given context.

$context
wp_kses_hook()

You add any KSES hooks here.

$content $allowed_html $allowed_protocols
wp_kses_version()

Returns the version number of KSES.

wp_kses_split()

Searches for HTML tags, no matter how malformed.

$content $allowed_html $allowed_protocols
wp_kses_uri_attributes()

Returns an array of HTML attribute names whose value contains a URL.

_wp_kses_split_callback()

Callback for `wp_kses_split()`.

$matches
wp_kses_split2()

Callback for `wp_kses_split()` for fixing malformed HTML tags.

$content $allowed_html $allowed_protocols
wp_kses_attr()

Removes all attributes, if none are allowed for this element.

$element $attr $allowed_html +1 more
wp_kses_attr_check()

Determines whether an attribute is allowed.

$name $value $whole +3 more
wp_kses_hair()

Builds an attribute list from string containing attributes.

$attr $allowed_protocols
wp_kses_attr_parse()

Finds all attributes of an HTML element.

$element
wp_kses_hair_parse()

Builds an attribute list from string containing attributes.

$attr
wp_kses_check_attr_val()

Performs different checks for attribute values.

$value $vless $checkname +1 more
wp_kses_bad_protocol()

Sanitizes a string and removed disallowed URL protocols.

$content $allowed_protocols
wp_kses_no_null()

Removes any invalid control characters in a text string.

$content $options
wp_kses_stripslashes()

Strips slashes from in front of quotes.

$content
wp_kses_array_lc()

Converts the keys of an array to lowercase.

$inarray
wp_kses_html_error()

Handles parsing errors in `wp_kses_hair()`.

$attr
wp_kses_bad_protocol_once()

Sanitizes content from bad protocols and other characters.

$content $allowed_protocols $count
wp_kses_bad_protocol_once2()

Callback for `wp_kses_bad_protocol_once()` regular expression.

$scheme $allowed_protocols
wp_kses_normalize_entities()

Converts and fixes HTML entities.

$content $context