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 1601 to 1650 of 4125 functions (Page 33 of 83)
_update_post_term_count()

Updates term count based on object types of the current taxonomy.

$terms $taxonomy
_update_generic_term_count()

Updates term count based on number of objects.

$terms $taxonomy
_split_shared_term()

Creates a new term for a term_taxonomy item that currently shares its term

$term_id $term_taxonomy_id $record
_wp_batch_split_terms()

Splits a batch of shared taxonomy terms.

_wp_check_for_scheduled_split_terms()

In order to avoid the _wp_batch_split_terms() job being accidentally removed,

_wp_check_split_default_terms()

Checks default categories when a term gets split to see if any of them need to be updated.

$term_id $new_term_id $term_taxonomy_id +1 more
_wp_check_split_terms_in_menus()

Checks menu items when a term gets split to see if any of them need to be updated.

$term_id $new_term_id $term_taxonomy_id +1 more
_wp_check_split_nav_menu_terms()

If the term being split is a nav_menu, changes associations.

$term_id $new_term_id $term_taxonomy_id +1 more
wp_get_split_terms()

Gets data about terms that previously shared a single term_id, but have since been split.

$old_term_id
wp_get_split_term()

Gets the new term ID corresponding to a previously split term.

$old_term_id $taxonomy
wp_term_is_shared()

Determines whether a term is shared between multiple taxonomies.

$term_id
get_term_link()

Generates a permalink for a taxonomy term archive.

$term $taxonomy
the_taxonomies()

Displays the taxonomies of a post with available options.

$args
get_the_taxonomies()

Retrieves all taxonomies associated with a post.

$post $args
get_post_taxonomies()

Retrieves all taxonomy names for the given post.

$post
is_object_in_term()

Determines if the given object is associated with any of the given terms.

$object_id $taxonomy $terms
is_object_in_taxonomy()

Determines if the given object type is associated with the given taxonomy.

$object_type $taxonomy
get_ancestors()

Gets an array of ancestor IDs for a given object.

$object_id $object_type $resource_type
wp_get_term_taxonomy_parent_id()

Returns the term's parent's term ID.

$term_id $taxonomy
wp_check_term_hierarchy_for_loops()

Checks the given subset of the term hierarchy for hierarchy loops.

$parent_term $term_id $taxonomy
is_taxonomy_viewable()

Determines whether a taxonomy is considered "viewable".

$taxonomy
is_term_publicly_viewable()

Determines whether a term is publicly viewable.

$term
wp_cache_set_terms_last_changed()

Sets the last changed time for the 'terms' cache group.

wp_check_term_meta_support_prefilter()

Aborts calls to term meta if it is not supported.

$check
get_categories()

Retrieves a list of category objects.

$args
get_category()

Retrieves category data given a category ID or category object.

$category $output $filter
get_category_by_path()

Retrieves a category based on URL containing the category slug.

$category_path $full_match $output
get_category_by_slug()

Retrieves a category object by category slug.

$slug
get_cat_ID()

Retrieves the ID of a category from its name.

$cat_name
get_cat_name()

Retrieves the name of a category from its ID.

$cat_id
cat_is_ancestor_of()

Checks if a category is an ancestor of another category.

$cat1 $cat2
sanitize_category()

Sanitizes category data based on context.

$category $context
sanitize_category_field()

Sanitizes data in single category key field.

$field $value $cat_id +1 more
get_tags()

Retrieves all post tags.

$args
get_tag()

Retrieves a post tag by tag ID or tag object.

$tag $output $filter
clean_category_cache()

Removes the category cache data based on ID.

$id
_make_cat_compat()

Updates category structure to old pre-2.3 from new taxonomy structure.

$category
get_bloginfo_rss()

Retrieves RSS container for the bloginfo function.

$show
bloginfo_rss()

Displays RSS container for the bloginfo function.

$show
get_default_feed()

Retrieves the default feed.

get_wp_title_rss()

Retrieves the blog title for the feed title.

$deprecated
wp_title_rss()

Displays the blog title for display of the feed title.

$deprecated
get_the_title_rss()

Retrieves the current post title for the feed.

$post
the_title_rss()

Displays the post title in the feed.

get_the_content_feed()

Retrieves the post content for feeds.

$feed_type
the_content_feed()

Displays the post content for feeds.

$feed_type
the_excerpt_rss()

Displays the post excerpt for the feed.

the_permalink_rss()

Displays the permalink to the post for use in feeds.

comments_link_feed()

Outputs the link to the comments for the current post in an XML safe way.

comment_guid()

Displays the feed GUID for the current comment.

$comment_id