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 601 to 650 of 4125 functions (Page 13 of 83)
allow_subdirectory_install()

Allow subdirectory installation.

get_clean_basedomain()

Get base domain of network.

network_step1()

Prints step 1 for Network installation process.

$errors
network_step2()

Prints step 2 for Network installation process.

$errors
wp_image_editor()

Loads the WP image-editing interface.

$post_id $msg
wp_stream_image()

Streams image in WP_Image_Editor to browser.

$image $mime_type $attachment_id
wp_save_image_file()

Saves image to file.

$filename $image $mime_type +1 more
_image_get_preview_ratio()

Image preview ratio. Internal use only.

$w $h
_rotate_image_resource()

Returns an image resource. Internal use only.

$img $angle
_flip_image_resource()

Flips an image resource. Internal use only.

$img $horz $vert
_crop_image_resource()

Crops an image resource. Internal use only.

$img $x $y +2 more
image_edit_apply_changes()

Performs group of changes on Editor specified.

$image $changes
stream_preview_image()

Streams image in post to browser, along with enqueued changes

$post_id
wp_restore_image()

Restores the metadata for a given attachment.

$post_id
wp_save_image()

Saves image to post, along with enqueued changes

$post_id
wp_category_checklist()

Outputs an unordered list of checkbox input elements labeled with category names.

$post_id $descendants_and_self $selected_cats +3 more
wp_terms_checklist()

Outputs an unordered list of checkbox input elements labelled with term names.

$post_id $args
wp_popular_terms_checklist()

Retrieves a list of the most popular terms from the specified taxonomy.

$taxonomy $default_term $number +1 more
wp_link_category_checklist()

Outputs a link category checklist element.

$link_id
get_inline_data()

Adds hidden fields with the data for use in the inline editor for posts and pages.

$post
wp_comment_reply()

Outputs the in-line comment reply-to form in the Comments list table.

$position $checkbox $mode +1 more
wp_comment_trashnotice()

Outputs 'undo move to Trash' text for comments.

list_meta()

Outputs a post's public meta data in the Custom Fields meta box.

$meta
_list_meta_row()

Outputs a single row of public meta data in the Custom Fields meta box.

$entry $count
meta_form()

Prints the form in the Custom Fields meta box.

$post
touch_time()

Prints out HTML form date elements for editing post or comment publish date.

$edit $for_post $tab_index +1 more
page_template_dropdown()

Prints out option HTML elements for the page templates drop-down.

$default_template $post_type
parent_dropdown()

Prints out option HTML elements for the page parents drop-down.

$default_page $parent_page $level +1 more
wp_dropdown_roles()

Prints out option HTML elements for role selectors.

$selected
wp_import_upload_form()

Outputs the form used by the importers to accept the data to be imported.

$action
add_meta_box()

Adds a meta box to one or more screens.

$id $title $callback +4 more
do_block_editor_incompatible_meta_box()

Renders a "fake" meta box with an information message,

$data_object $box
_get_plugin_from_callback()

Internal helper function to find the plugin from a meta box callback.

$callback
do_meta_boxes()

Meta-Box template function.

$screen $context $data_object
remove_meta_box()

Removes a meta box from one or more screens.

$id $screen $context
do_accordion_sections()

Meta Box Accordion Template Function.

$screen $context $data_object
add_settings_section()

Adds a new section to a settings page.

$id $title $callback +2 more
add_settings_field()

Adds a new field to a section of a settings page.

$id $title $callback +3 more
do_settings_sections()

Prints out all settings sections added to a particular settings page.

$page
do_settings_fields()

Prints out the settings fields for a particular settings section.

$page $section
add_settings_error()

Registers a settings error to be displayed to the user.

$setting $code $message +1 more
get_settings_errors()

Fetches settings errors registered by add_settings_error().

$setting $sanitize
settings_errors()

Displays settings errors registered by add_settings_error().

$setting $sanitize $hide_on_update
find_posts_div()

Outputs the modal window used for attaching media to posts or pages in the media-listing screen.

$found_action
the_post_password()

Displays the post password.

_draft_or_post_title()

Gets the post title.

$post
_admin_search_query()

Displays the search query.

iframe_header()

Generic Iframe header for use with Thickbox.

$title $deprecated
iframe_footer()

Generic Iframe footer for use with Thickbox.

_post_states()

Echoes or returns the post states as HTML.

$post $display