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 701 to 750 of 4125 functions (Page 15 of 83)
media_upload_text_after()

Used to display a "After a file has been uploaded..." help message.

media_upload_max_image_resize()

Displays the checkbox to scale images.

multisite_over_quota_message()

Displays the out of storage quota message in Multisite.

edit_form_image_editor()

Displays the image and editor in the post editor

$post
attachment_submitbox_metadata()

Displays non-editable attachment metadata in the publish meta box.

wp_add_id3_tag_data()

Parses ID3v2, ID3v1, and getID3 comments to extract usable data.

$metadata $data
wp_read_video_metadata()

Retrieves metadata from a video file's ID3 tags.

$file
wp_read_audio_metadata()

Retrieves metadata from an audio file's ID3 tags.

$file
wp_get_media_creation_timestamp()

Parses creation date from media metadata.

$metadata
wp_media_attach_action()

Encapsulates the logic for Attach/Detach actions.

$parent_id $action
got_mod_rewrite()

Returns whether the server is running Apache with the mod_rewrite module loaded.

got_url_rewrite()

Returns whether the server supports URL rewriting.

extract_from_markers()

Extracts strings from between the BEGIN and END markers in the .htaccess file.

$filename $marker
insert_with_markers()

Inserts an array of strings into a file (.htaccess), placing it between

$filename $marker $insertion
save_mod_rewrite_rules()

Updates the htaccess file with the current rules if it is writable.

iis7_save_url_rewrite_rules()

Updates the IIS web.config file with the current rules if it is writable.

update_recently_edited()

Updates the "recently-edited" file for the plugin or theme file editor.

$file
wp_make_theme_file_tree()

Makes a tree structure for the theme file editor's file list.

$allowed_files
wp_print_theme_file_tree()

Outputs the formatted file list for the theme file editor.

$tree $level $size +1 more
wp_make_plugin_file_tree()

Makes a tree structure for the plugin file editor's file list.

$plugin_editable_files
wp_print_plugin_file_tree()

Outputs the formatted file list for the plugin file editor.

$tree $label $level +2 more
update_home_siteurl()

Flushes rewrite rules if `siteurl`, `home` or `page_on_front` changed.

$old_value $value
wp_reset_vars()

Resets global variables based on `$_GET` and `$_POST`.

$vars
show_message()

Displays the given administration message.

$message
wp_doc_link_parse()
$content
set_screen_options()

Saves option for number of rows when listing posts, pages, comments, etc.

iis7_rewrite_rule_exists()

Checks if rewrite rule for WordPress already exists in the IIS 7+ configuration file.

$filename
iis7_delete_rewrite_rule()

Deletes WordPress rewrite rule from web.config file if it exists there.

$filename
iis7_add_rewrite_rule()

Adds WordPress rewrite rule to the IIS 7+ configuration file.

$filename $rewrite_rule
saveDomDocument()

Saves the XML document into a file.

$doc $filename
admin_color_scheme_picker()

Displays the default admin color scheme picker (Used in user-edit.php).

$user_id
wp_color_scheme_settings()
wp_admin_viewport_meta()

Displays the viewport meta in the admin.

_customizer_mobile_viewport_meta()

Adds viewport meta for mobile in Customizer.

$viewport_meta
wp_check_locked_posts()

Checks lock status for posts displayed on the Posts screen.

$response $data $screen_id
wp_refresh_post_lock()

Checks lock status on the New/Edit Post screen and refresh the lock.

$response $data $screen_id
wp_refresh_post_nonces()

Checks nonce expiration on the New/Edit Post screen and refresh if needed.

$response $data $screen_id
wp_refresh_metabox_loader_nonces()

Refresh nonces used with meta boxes in the block editor.

$response $data
wp_refresh_heartbeat_nonces()

Adds the latest Heartbeat and REST API nonce to the Heartbeat response.

$response
wp_heartbeat_set_suspension()

Disables suspension of Heartbeat on the Add/Edit Post screens.

$settings
heartbeat_autosave()

Performs autosave with heartbeat.

$response $data
wp_admin_canonical_url()

Removes single-use URL parameters and create canonical link based on new URL.

wp_page_reload_on_back_button_js()

Outputs JS that reloads the page if the user navigated to it with the Back or Forward button.

update_option_new_admin_email()

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

$old_value $value
_wp_privacy_settings_filter_draft_page_titles()

Appends '(Draft)' to draft page titles in the privacy page dropdown

$title $page
wp_check_php_version()

Checks if the user needs to update PHP.

__()
_x()
add_filter()
has_filter()