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 851 to 900 of 4125 functions (Page 18 of 83)
image_attachment_fields_to_save()

Was used to filter input from media_upload_form_handler() and to assign a default

$post $attachment
_wp_menu_output()

Display menu.

$menu $submenu $submenu_as_parent
list_core_update()

Lists available core updates.

$update
dismissed_updates()

Display dismissed updates.

core_upgrade_preamble()

Display upgrade WordPress for downloading latest or upgrading automatically form.

core_auto_updates_settings()

Display WordPress auto-updates settings.

list_plugin_updates()

Display the upgrade plugins form.

list_theme_updates()

Display the upgrade themes form.

list_translation_updates()

Display the update translations form.

do_core_upgrade()

Upgrades WordPress core display.

$reinstall
do_dismiss_core_update()

Dismiss a core update.

do_undismiss_core_update()

Undismiss a core update.

setup_config_display_header()

Display setup wp-config.php file header.

$body_classes
wp_load_press_this()
_wp_get_site_editor_redirection_url()

Maps old site editor urls to the new updated ones.

_add_themes_utility_last()

Adds the 'Theme File Editor' menu item to the bottom of the Appearance (non-block themes)

_add_plugin_file_editor_to_tools()

Adds the 'Plugin File Editor' menu item after the 'Themes File Editor' in Tools

startElement()

Starts a new XML tag.

$parser $tag_name $attrs
endElement()

Ends a new XML tag.

$parser $tag_name
mysql2date()

Converts given MySQL date string into a different format.

$format $date $translate
current_time()

Retrieves the current time based on specified type.

$type $gmt
current_datetime()

Retrieves the current time as an object using the site's timezone.

wp_timezone_string()

Retrieves the timezone of the site as a string.

wp_timezone()

Retrieves the timezone of the site as a `DateTimeZone` object.

date_i18n()

Retrieves the date in localized format, based on a sum of Unix timestamp and

$format $timestamp_with_offset $gmt
wp_date()

Retrieves the date, in localized format.

$format $timestamp $timezone
wp_maybe_decline_date()

Determines if the date should be declined.

$date $format
number_format_i18n()

Converts float number to format based on the locale.

$number $decimals
size_format()

Converts a number of bytes to the largest unit the bytes will fit into.

$bytes $decimals
human_readable_duration()

Converts a duration to human readable format.

$duration
get_weekstartend()

Gets the week start and end from the datetime or date string from MySQL.

$mysqlstring $start_of_week
maybe_serialize()

Serializes data, if needed.

$data
maybe_unserialize()

Unserializes data only if it was serialized.

$data
is_serialized()

Checks value to find if it was serialized.

$data $strict
is_serialized_string()

Checks whether serialized data is of string type.

$data
xmlrpc_getposttitle()

Retrieves post title from XMLRPC XML.

$content
xmlrpc_getpostcategory()

Retrieves the post category or categories from XMLRPC XML.

$content
xmlrpc_removepostdata()

XMLRPC XML content without title and category elements.

$content
wp_extract_urls()

Uses RegEx to extract URLs from arbitrary content.

$content
do_enclose()

Checks content for video and audio links to add as enclosures.

$content $post
wp_get_http_headers()

Retrieves HTTP Headers from URL.

$url $deprecated
is_new_day()

Determines whether the publish date of the current post in the loop is different

build_query()

Builds URL query based on an associative and, or indexed array.

$data
_http_build_query()

From php.net (modified by Mark Jaquith to behave like the native PHP5 function).

$data $prefix $sep +2 more
add_query_arg()

Retrieves a modified URL query string.

$args
remove_query_arg()

Removes an item or items from a query string.

$key $query
wp_removable_query_args()

Returns an array of single-use query variable names that can be removed from a URL.

add_magic_quotes()

Walks the array while sanitizing the contents.

$input_array
wp_remote_fopen()

HTTP request for URI to retrieve content.

$uri
wp()

Sets up the WordPress query.

$query_vars