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 3751 to 3800 of 4125 functions (Page 76 of 83)
wp_interactivity_get_context()

Gets the current Interactivity API context for a given namespace.

$store_namespace
wp_interactivity_get_element()

Returns an array representation of the current element being processed.

wp_should_replace_insecure_home_url()

Checks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.

wp_replace_insecure_home_url()

Replaces insecure HTTP URLs to the site in the given content, if configured to do so.

$content
wp_update_urls_to_https()

Update the 'home' and 'siteurl' option to use the HTTPS variant of their URL.

wp_update_https_migration_required()

Updates the 'https_migration_required' option if needed when the given URL has been updated from HTTP to HTTPS.

$old_url $new_url
get_header()

Loads header template.

$name $args
get_footer()

Loads footer template.

$name $args
get_sidebar()

Loads sidebar template.

$name $args
get_template_part()

Loads a template part into a template.

$slug $name $args
get_search_form()

Displays search form.

$args
wp_loginout()

Displays the Log In/Out link.

$redirect $display
wp_logout_url()

Retrieves the logout URL.

$redirect
wp_login_url()

Retrieves the login URL.

$redirect $force_reauth
wp_registration_url()

Returns the URL that allows the user to register on the site.

wp_login_form()

Provides a simple login form for use anywhere within WordPress.

$args
wp_lostpassword_url()

Returns the URL that allows the user to reset the lost password.

$redirect
wp_register()

Displays the Registration or Admin link.

$before $after $display
wp_meta()

Theme container function for the 'wp_meta' action.

bloginfo()

Displays information about the current site.

$show
get_bloginfo()

Retrieves information about the current site.

$show $filter
get_site_icon_url()

Returns the Site Icon URL.

$size $url $blog_id
site_icon_url()

Displays the Site Icon URL.

$size $url $blog_id
has_site_icon()

Determines whether the site has a Site Icon.

$blog_id
has_custom_logo()

Determines whether the site has a custom logo.

$blog_id
get_custom_logo()

Returns a custom logo, linked to home unless the theme supports removing the link on the home page.

$blog_id
the_custom_logo()

Displays a custom logo, linked to home unless the theme supports removing the link on the home page.

$blog_id
wp_get_document_title()

Returns document title for the current page.

_wp_render_title_tag()

Displays title tag with content.

wp_title()

Displays or retrieves page title for all areas of blog.

$sep $display $seplocation
single_post_title()

Displays or retrieves page title for post.

$prefix $display
post_type_archive_title()

Displays or retrieves title for a post type archive.

$prefix $display
single_cat_title()

Displays or retrieves page title for category archive.

$prefix $display
single_tag_title()

Displays or retrieves page title for tag post archive.

$prefix $display
single_term_title()

Displays or retrieves page title for taxonomy term archive.

$prefix $display
single_month_title()

Displays or retrieves page title for post archive based on date.

$prefix $display
the_archive_title()

Displays the archive title based on the queried object.

$before $after
get_the_archive_title()

Retrieves the archive title based on the queried object.

the_archive_description()

Displays category, tag, term, or author description.

$before $after
get_the_archive_description()

Retrieves the description for an author, post type, or term archive.

get_the_post_type_description()

Retrieves the description for a post type archive.

get_archives_link()

Retrieves archive link content based on predefined or custom code.

$url $text $format +3 more
wp_get_archives()

Displays archive links based on type and format.

$args
calendar_week_mod()

Gets number of days since the start of the week.

$num
get_calendar()

Displays calendar with days that have posts as links.

$args
delete_get_calendar_cache()

Purges the cached results of get_calendar.

allowed_tags()

Displays all of the allowed tags in HTML format with attributes.

the_date_xml()

Outputs the date in iso8601 format for xml files.

the_date()

Displays or retrieves the date of the post (once per date).

$format $before $after +1 more
get_the_date()

Retrieves the date of the post.

$format $post