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 1501 to 1550 of 4125 functions (Page 31 of 83)
comments_popup_link()

Displays the link to the comments for the current post ID.

$zero $one $more +2 more
get_comment_reply_link()

Retrieves HTML content for reply to comment link.

$args $comment $post
comment_reply_link()

Displays the HTML content for reply to comment link.

$args $comment $post
get_post_reply_link()

Retrieves HTML content for reply to post link.

$args $post
post_reply_link()

Displays the HTML content for reply to post link.

$args $post
get_cancel_comment_reply_link()

Retrieves HTML content for cancel comment reply link.

$link_text $post
cancel_comment_reply_link()

Displays HTML content for cancel comment reply link.

$link_text
get_comment_id_fields()

Retrieves hidden input HTML for replying to comments.

$post
comment_id_fields()

Outputs hidden input HTML for replying to comments.

$post
comment_form_title()

Displays text based on comment reply status.

$no_reply_text $reply_text $link_to_parent +1 more
_get_comment_reply_id()

Gets the comment's reply to ID from the $_GET['replytocom'].

$post
wp_list_comments()

Displays a list of comments.

$args $comments
comment_form()

Outputs a complete commenting form for use within a template.

$args $post
wp_style_engine_get_styles()

Global public interface method to generate styles from a single style object,

$block_styles $options
wp_style_engine_get_stylesheet_from_css_rules()

Returns compiled CSS from a collection of selectors and declarations.

$css_rules $options
wp_style_engine_get_stylesheet_from_context()

Returns compiled CSS from a store, if found.

$context $options
_wp_post_revision_fields()

Determines which fields of posts are to be saved in revisions.

$post $deprecated
_wp_post_revision_data()

Returns a post array ready to be inserted into the posts table as a post revision.

$post $autosave
wp_save_post_revision_on_insert()

Saves revisions for a post after all changes have been made.

$post_id $post $update
wp_save_post_revision()

Creates a revision for the current version of a post.

$post_id
wp_get_post_autosave()

Retrieves the autosaved data of the specified post.

$post_id $user_id
wp_is_post_revision()

Determines if the specified post is a revision.

$post
wp_is_post_autosave()

Determines if the specified post is an autosave.

$post
_wp_put_post_revision()

Inserts post data into the posts table as a post revision.

$post $autosave
wp_save_revisioned_meta_fields()

Save the revisioned meta fields.

$revision_id $post_id
wp_get_post_revision()

Gets a post revision.

$post $output $filter
wp_restore_post_revision()

Restores a post to the specified revision.

$revision $fields
wp_restore_post_revision_meta()

Restore the revisioned meta values for a post.

$post_id $revision_id
_wp_copy_post_meta()

Copy post meta for the given key from one post to another.

$source_post_id $target_post_id $meta_key
wp_post_revision_meta_keys()

Determine which post meta fields should be revisioned.

$post_type
wp_check_revisioned_meta_fields_have_changed()

Check whether revisioned post meta fields have changed.

$post_has_changed $last_revision $post
wp_delete_post_revision()

Deletes a revision.

$revision
wp_get_post_revisions()

Returns all revisions of specified post.

$post $args
wp_get_latest_revision_id_and_total_count()

Returns the latest revision ID and count of revisions for a post.

$post
wp_get_post_revisions_url()

Returns the url for viewing and potentially restoring revisions of a given post.

$post
wp_revisions_enabled()

Determines whether revisions are enabled for a given post.

$post
wp_revisions_to_keep()

Determines how many revisions to retain for a given post.

$post
_set_preview()

Sets up the post object for preview based on the post autosave.

$post
_show_post_preview()

Filters the latest content for preview from the post autosave.

_wp_preview_terms_filter()

Filters terms lookup to set the post format.

$terms $post_id $taxonomy
_wp_preview_post_thumbnail_filter()

Filters post thumbnail lookup to set the post thumbnail.

$value $post_id $meta_key
_wp_get_post_revision_version()

Gets the post revision version.

$revision
_wp_upgrade_revisions_of_post()

Upgrades the revisions author, adds the current post as a revision and sets the revisions version to 1.

$post $revisions
_wp_preview_meta_filter()

Filters preview post meta retrieval to get values from the autosave.

$value $object_id $meta_key +1 more
create_initial_taxonomies()

Creates the initial taxonomies.

get_taxonomies()

Retrieves a list of registered taxonomy names or objects.

$args $output $operator
get_object_taxonomies()

Returns the names or objects of the taxonomies which are registered for the requested object or object type,

$object_type $output
get_taxonomy()

Retrieves the taxonomy object of $taxonomy.

$taxonomy
taxonomy_exists()

Determines whether the taxonomy name exists.

$taxonomy
is_taxonomy_hierarchical()

Determines whether the taxonomy object is hierarchical.

$taxonomy