Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Category: WordPress API Reference

  • October 9, 2026
    get_site_icon_url(): Returns the Site Icon URL.
  • October 9, 2026
    get_template_part(): Loads a template part into a template.
  • October 9, 2026
    get_search_query(): Retrieves the contents of the search WordPress query variable.
  • October 9, 2026
    get_sidebar(): Loads sidebar template.
  • October 9, 2026
    get_posts_by_author_sql(): Retrieves the post SQL based on capability, author, and type.
  • October 9, 2026
    get_private_posts_cap_sql(): Retrieves the private post SQL based on capability.
  • October 9, 2026
    get_post_types(): Gets a list of all registered post type objects.
  • October 9, 2026
    get_post_types_by_support(): Retrieves a list of post type names that support a specific feature.
  • October 9, 2026
    get_post_stati(): Gets a list of post statuses.
  • October 9, 2026
    get_post_type_capabilities(): Builds an object with all post type capabilities out of a post type object Post type capabilities use the…
  • October 9, 2026
    get_post_reply_link(): Retrieves HTML content for reply to post link.
  • October 9, 2026
    get_post_mime_types(): Gets default post mime types.
  • October 9, 2026
    get_post_field(): Retrieves data from a post field based on Post ID.
  • October 9, 2026
    get_post_mime_type(): Retrieves the mime type of an attachment based on the ID.
  • October 9, 2026
    get_post_custom_values(): Retrieves values for a custom post field.
  • October 9, 2026
    get_post_custom(): Retrieves post meta fields, based on post ID.
  • October 9, 2026
    get_post_custom_keys(): Retrieves meta field names for a post.
  • October 9, 2026
    get_page_link(): Retrieves the permalink for the current page or page ID.
  • October 9, 2026
    get_pages(): Retrieves an array of pages (or hierarchical post type items).
  • October 9, 2026
    get_next_post(): Retrieves the next post that is adjacent to the current post.
  • October 9, 2026
    get_next_post_link(): Retrieves the next post link that is adjacent to the current post.
  • October 9, 2026
    get_home_url(): Retrieves the URL for a given site where the front end is accessible.
  • October 9, 2026
    get_edit_term_link(): Retrieves the URL for editing a given term.
  • October 9, 2026
    get_edit_comment_link(): Retrieves the edit comment link.
  • October 9, 2026
    get_edit_post_link(): Retrieves the edit post link for post.
  • October 9, 2026
    get_edit_profile_url(): Retrieves the URL to the user's profile editor.
  • October 9, 2026
    get_delete_post_link(): Retrieves the delete posts link for post.
  • October 9, 2026
    get_day_link(): Retrieves the permalink for the day archives with year and month.
  • October 9, 2026
    get_dashboard_url(): Retrieves the URL to the user's dashboard.
  • October 9, 2026
    get_comment_time(): Retrieves the comment time of the current comment.
  • October 9, 2026
    get_comments_number_text(): Displays the language string for the number of comments the current post has.
  • October 9, 2026
    get_comment_link(): Retrieves the link to a given comment.
  • October 9, 2026
    get_comment_reply_link(): Retrieves HTML content for reply to comment link.
  • October 9, 2026
    get_comment_class(): Returns the classes for the comment div as an array.
  • October 9, 2026
    get_comment_author_link(): Retrieves the HTML link to the URL of the author of the current comment.
  • October 9, 2026
    get_comment_author_url_link(): Retrieves the HTML link of the URL of the author of the current comment. $link_text parameter is only used…
  • October 9, 2026
    get_category_feed_link(): Retrieves the feed link for a category.
  • October 9, 2026
    get_avatar_url(): Retrieves the avatar URL.
  • October 9, 2026
    get_boundary_post(): Retrieves the boundary post.
  • October 9, 2026
    get_avatar_data(): Retrieves default data about the avatar.
  • October 9, 2026
    wp_upload_dir(): Returns an array containing the current upload directory's path and URL.
  • October 9, 2026
    wp_verify_nonce(): Verifies that a correct security nonce was used with time limit.
  • October 9, 2026
    wp_widget_rss_process(): Processes RSS feed widget data and optionally retrieve feed items.
  • October 9, 2026
    wp_update_user(): Updates a user in the database.
  • October 9, 2026
    wp_update_post(): Updates a post with new post data.
  • October 9, 2026
    wp_unslash(): Removes slashes from a string or recursively removes slashes from strings within an array.
  • October 9, 2026
    wp_unschedule_event(): Unschedules a previously scheduled event.
  • October 9, 2026
    wp_unschedule_hook(): Unschedules all events attached to the hook.
  • October 9, 2026
    wp_style_add_data(): Adds metadata to a CSS stylesheet.
  • October 9, 2026
    wp_style_loader_src(): Administration Screen CSS for changing the styles.
  • October 9, 2026
    wp_should_load_separate_core_block_assets(): Checks whether separate styles should be loaded for core blocks.
  • October 9, 2026
    wp_set_script_translations(): Sets translated strings for a script.
  • October 9, 2026
    wp_should_load_block_assets_on_demand(): Checks whether block styles should be loaded only on-render.
  • October 9, 2026
    wp_send_json_success(): Sends a JSON response back to an Ajax request, indicating success.
  • October 9, 2026
    wp_set_object_terms(): Creates term and taxonomy relationships.
  • October 9, 2026
    wp_send_json(): Sends a JSON response back to an Ajax request.
  • October 9, 2026
    wp_send_json_error(): Sends a JSON response back to an Ajax request, indicating failure.
  • October 9, 2026
    wp_script_is(): Determines whether a script has been added to the queue.
  • October 9, 2026
    wp_script_add_data(): Adds metadata to a script.
  • October 9, 2026
    wp_schedule_event(): Schedules a recurring event.
  • October 9, 2026
    wp_schedule_single_event(): Schedules an event to run only once.
  • October 9, 2026
    wp_safe_remote_post(): Retrieves the raw response from a safe HTTP request using the POST method.
  • October 9, 2026
    wp_safe_remote_request(): Retrieves the raw response from a safe HTTP request.
  • October 9, 2026
    wp_safe_redirect(): Performs a safe (local) redirect, using wp_redirect().
  • October 9, 2026
    wp_safe_remote_get(): Retrieves the raw response from a safe HTTP request using the GET method.
  • October 9, 2026
    wp_safe_remote_head(): Retrieves the raw response from a safe HTTP request using the HEAD method.
  • October 9, 2026
    wp_reschedule_event(): Reschedules a recurring event.
  • October 9, 2026
    wp_resolve_numeric_slug_conflicts(): Resolves numeric slugs that collide with date permalinks.
  • October 9, 2026
    wp_remote_post(): Performs an HTTP request using the POST method and returns its response.
  • October 9, 2026
    wp_remote_request(): Performs an HTTP request and returns its response.
  • October 9, 2026
    wp_remote_retrieve_header(): Retrieves a single header by name from the raw response.
  • October 9, 2026
    wp_remote_head(): Performs an HTTP request using the HEAD method and returns its response.
  • October 9, 2026
    wp_register_widget_control(): Registers widget control callback for customizing options.
  • October 9, 2026
    wp_remote_get(): Performs an HTTP request using the GET method and returns its response.
  • October 9, 2026
    wp_register_style(): Registers a CSS stylesheet.
  • October 9, 2026
    wp_register_sidebar_widget(): Registers an instance of a widget.
  • October 9, 2026
    wp_rand(): Generates a random non-negative number.
  • October 9, 2026
    wp_redirect(): Redirects to another page.
  • October 9, 2026
    wp_register_script(): Registers a new script.
  • October 9, 2026
    wp_register_script_module(): Registers the script module if no script module with that script module identifier has already been registered.
  • October 9, 2026
    wp_password_needs_rehash(): Checks whether a password hash needs to be rehashed.
  • October 9, 2026
    wp_parse_auth_cookie(): Parses a cookie into its components.
  • October 9, 2026
    wp_parse_url(): A wrapper for PHP's parse_url() function that handles consistency in the return values across PHP versions.
  • October 9, 2026
    wp_oembed_add_provider(): Adds a URL format and oEmbed provider URL pair.
  • October 9, 2026
    wp_oembed_get(): Attempts to fetch the embed HTML for a provided URL using oEmbed.
  • October 9, 2026
    wp_nonce_tick(): Returns the time-dependent variable for nonce creation.
  • October 9, 2026
    wp_next_scheduled(): Retrieves the timestamp of the next scheduled event for the given hook.
  • October 9, 2026
    wp_nonce_field(): Retrieves or display nonce hidden field for forms.
  • October 9, 2026
    wp_localize_script(): Localizes a script.
  • October 9, 2026
    wp_mail(): Sends an email, similar to PHP's mail function.
  • October 9, 2026
    wp_new_user_notification(): Emails login credentials to a newly-registered user.
  • October 9, 2026
    wp_list_pages(): Retrieves or displays a list of pages (or hierarchical post type items) in list (li) format.
  • October 9, 2026
    wp_kses_post(): Sanitizes content for allowed HTML tags for post content.
  • October 9, 2026
    wp_link_pages(): The formatted output of a list of pages.
  • October 9, 2026
    wp_kses_decode_entities(): Converts all numeric HTML entities to their named counterparts.
  • October 9, 2026
    wp_kses_hair(): Given a string of HTML attributes and values, parse into a structured attribute list.
  • October 9, 2026
    wp_kses_bad_protocol_once(): Sanitizes content from bad protocols and other characters.
  • October 9, 2026
    wp_kses_check_attr_val(): Performs different checks for attribute values.
  • October 9, 2026
    wp_kses_bad_protocol(): Sanitizes a string and removed disallowed URL protocols.
  • October 9, 2026
    wp_kses_allowed_html(): Returns an array of allowed HTML tags and attributes for a given context.