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 2851 to 2900 of 4125 functions (Page 58 of 83)
get_next_posts_link()

Retrieves the next posts page link.

$label $max_page
next_posts_link()

Displays the next posts page link.

$label $max_page
get_previous_posts_page_link()

Retrieves the previous posts page link.

previous_posts()

Displays or retrieves the previous posts page link.

$display
get_previous_posts_link()

Retrieves the previous posts page link.

$label
previous_posts_link()

Displays the previous posts page link.

$label
get_posts_nav_link()

Retrieves the post pages link navigation for previous and next pages.

$args
posts_nav_link()

Displays the post pages link navigation for previous and next pages.

$sep $prelabel $nxtlabel
get_the_post_navigation()

Retrieves the navigation to next/previous post, when applicable.

$args
the_post_navigation()

Displays the navigation to next/previous post, when applicable.

$args
get_the_posts_navigation()

Returns the navigation to next/previous set of posts, when applicable.

$args
the_posts_navigation()

Displays the navigation to next/previous set of posts, when applicable.

$args
get_the_posts_pagination()

Retrieves a paginated navigation to next/previous set of posts, when applicable.

$args
the_posts_pagination()

Displays a paginated navigation to next/previous set of posts, when applicable.

$args
_navigation_markup()

Wraps passed links in navigational markup.

$links $css_class $screen_reader_text +1 more
get_comments_pagenum_link()

Retrieves the comments page number link.

$pagenum $max_page
get_next_comments_link()

Retrieves the link to the next comments page.

$label $max_page $page
next_comments_link()

Displays the link to the next comments page.

$label $max_page
get_previous_comments_link()

Retrieves the link to the previous comments page.

$label $page
previous_comments_link()

Displays the link to the previous comments page.

$label
paginate_comments_links()

Displays or retrieves pagination links for the comments on the current post.

$args
get_the_comments_navigation()

Retrieves navigation to next/previous set of comments, when applicable.

$args
the_comments_navigation()

Displays navigation to next/previous set of comments, when applicable.

$args
get_the_comments_pagination()

Retrieves a paginated navigation to next/previous set of comments, when applicable.

$args
the_comments_pagination()

Displays a paginated navigation to next/previous set of comments, when applicable.

$args
home_url()

Retrieves the URL for the current site where the front end is accessible.

$path $scheme
get_home_url()

Retrieves the URL for a given site where the front end is accessible.

$blog_id $path $scheme
site_url()

Retrieves the URL for the current site where WordPress application files

$path $scheme
get_site_url()

Retrieves the URL for a given site where WordPress application files

$blog_id $path $scheme
admin_url()

Retrieves the URL to the admin area for the current site.

$path $scheme
get_admin_url()

Retrieves the URL to the admin area for a given site.

$blog_id $path $scheme
includes_url()

Retrieves the URL to the includes directory.

$path $scheme
content_url()

Retrieves the URL to the content directory.

$path
plugins_url()

Retrieves a URL within the plugins or mu-plugins directory.

$path $plugin
network_site_url()

Retrieves the site URL for the current network.

$path $scheme
network_home_url()

Retrieves the home URL for the current network.

$path $scheme
network_admin_url()

Retrieves the URL to the admin area for the network.

$path $scheme
user_admin_url()

Retrieves the URL to the admin area for the current user.

$path $scheme
self_admin_url()

Retrieves the URL to the admin area for either the current site or the network depending on context.

$path $scheme
set_url_scheme()

Sets the scheme for a URL.

$url $scheme
get_dashboard_url()

Retrieves the URL to the user's dashboard.

$user_id $path $scheme
get_edit_profile_url()

Retrieves the URL to the user's profile editor.

$user_id $scheme
wp_get_canonical_url()

Returns the canonical URL for a post.

$post
rel_canonical()

Outputs rel=canonical for singular queries.

wp_get_shortlink()

Returns a shortlink for a post, page, attachment, or site.

$id $context $allow_slugs
wp_shortlink_wp_head()

Injects rel=shortlink into the head if a shortlink is defined for the current page.

wp_shortlink_header()

Sends a Link: rel=shortlink header if a shortlink is defined for the current page.

the_shortlink()

Displays the shortlink for a post.

$text $title $before +1 more
get_avatar_url()

Retrieves the avatar URL.

$id_or_email $args
is_avatar_comment_type()

Check if this comment type allows avatars to be retrieved.

$comment_type