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

Tag: WordPress

  • 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_hair(): Given a string of HTML attributes and values, parse into a structured attribute list.
  • October 9, 2026
    wp_kses_decode_entities(): Converts all numeric HTML entities to their named counterparts.
  • 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.
  • October 9, 2026
    wp_kses_attr(): Removes all attributes, if none are allowed for this element.
  • October 9, 2026
    wp_kses_attr_check(): Determines whether an attribute is allowed.
  • October 9, 2026
    wp_kses(): Filters text content and strips out disallowed HTML.
  • October 9, 2026
    wp_json_encode(): Encodes a variable into JSON, with some confidence checks.
  • October 9, 2026
    wp_insert_term(): Adds a new term to the database.
  • October 9, 2026
    wp_insert_user(): Inserts a user into the database.
  • October 9, 2026
    wp_http_validate_url(): Validates a URL as safe for use in the HTTP API.
  • October 9, 2026
    wp_insert_post(): Inserts or updates a post in the database.
  • October 9, 2026
    wp_hash(): Gets the hash of the given string.
  • October 9, 2026
    wp_get_script_polyfill(): Returns contents of an inline script used in appending polyfill scripts for browsers which fail the provided tests.
  • October 9, 2026
    wp_get_schedules(): Retrieves supported event recurrence schedules.
  • October 9, 2026
    wp_get_current_user(): Retrieves the current user object.
  • October 9, 2026
    wp_get_inline_script_tag(): Constructs an inline script tag.
  • October 9, 2026
    wp_get_scheduled_event(): Retrieves a scheduled event.
  • October 9, 2026
    wp_get_attachment_link(): Retrieves an attachment page link using an image or icon, if possible.
  • October 9, 2026
    wp_get_attachment_metadata(): Retrieves attachment metadata for attachment ID.
  • October 9, 2026
    wp_get_attachment_image(): Gets an HTML img element representing an image attachment.
  • October 9, 2026
    wp_generate_auth_cookie(): Generates authentication cookie contents.
  • October 9, 2026
    wp_generate_password(): Generates a random password drawn from the defined set of characters.
  • October 9, 2026
    wp_filter_pre_oembed_result(): Filters the oEmbed result before any HTTP requests are made.
  • October 9, 2026
    wp_filter_out_block_nodes(): Applies a filter to the list of style nodes that comes from WP_Theme_JSON::get_style_nodes().
  • October 9, 2026
    wp_filter_post_kses(): Sanitizes content for allowed HTML tags for post content.
  • October 9, 2026
    wp_enqueue_style(): Enqueues a CSS stylesheet.
  • October 9, 2026
    wp_filter_oembed_iframe_title_attribute(): Filters the given oEmbed HTML to make sure iframes have a title attribute.
  • October 9, 2026
    wp_filter_oembed_result(): Filters the given oEmbed HTML.
  • October 9, 2026
    wp_enqueue_script_module(): Marks the script module to be enqueued in the page.
  • October 9, 2026
    wp_enqueue_script(): Enqueues a script.
  • October 9, 2026
    wp_embed_register_handler(): Registers an embed handler.
  • October 9, 2026
    wp_embed_excerpt_more(): Filters the string in the 'more' link displayed after a trimmed excerpt.
  • October 9, 2026
    wp_embed_handler_youtube(): YouTube iframe embed handler callback.
  • October 9, 2026
    wp_dropdown_pages(): Retrieves or displays a list of pages as a dropdown (select list).
  • October 9, 2026
    wp_embed_defaults(): Creates default array of embed parameters.
  • October 9, 2026
    wp_delete_post(): Trashes or deletes a post or page.
  • October 9, 2026
    wp_delete_term(): Removes a term from the database.
  • October 9, 2026
    wp_delete_attachment(): Trashes or deletes an attachment.
  • October 9, 2026
    wp_clear_scheduled_hook(): Unschedules all events attached to the hook with the specified arguments.
  • October 9, 2026
    wp_convert_widget_settings(): Converts the widget settings from single to multi-widget format.
  • October 9, 2026
    wp_create_user(): Provides a simpler way of inserting a user into the database.
  • October 9, 2026
    wp_check_password(): Checks a plaintext password against a hashed password.
  • October 9, 2026
    wp_cache_set(): Saves the data to the cache.
  • October 9, 2026
    wp_cache_set_multiple(): Sets multiple values to the cache in one call.
  • October 9, 2026
    wp_cache_incr(): Increments numeric cache item's value.
  • October 9, 2026
    wp_cache_replace(): Replaces the contents of the cache with new data.
  • October 9, 2026
    wp_cache_get_multiple(): Retrieves multiple values from the cache in one call.
  • October 9, 2026
    wp_cache_flush_group(): Removes all cache items in a group, if the object cache implementation supports it.
  • October 9, 2026
    wp_cache_get(): Retrieves the cache contents from the cache by key and group.
  • October 9, 2026
    wp_cache_close(): Closes the cache.
  • October 9, 2026
    wp_cache_decr(): Decrements numeric cache item's value.
  • October 9, 2026
    wp_cache_delete_multiple(): Deletes multiple values from the cache in one call.
  • October 9, 2026
    wp_cache_add(): Adds data to the cache, if the cache key doesn't already exist.
  • October 9, 2026
    wp_cache_add_multiple(): Adds multiple values to the cache in one call.
  • October 9, 2026
    wp_add_inline_style(): Adds extra CSS styles to a registered stylesheet.
  • October 9, 2026
    WP-Cron is WordPress’s task-scheduling system for running callbacks at scheduled times.
  • October 9, 2026
    wp_add_inline_script(): Adds extra code to a registered script.
  • October 9, 2026
    A WordPress taxonomy groups content using terms.
  • October 9, 2026
    The WordPress REST API exposes site resources through HTTP endpoints and JSON responses.
  • October 9, 2026
    valid_unicode(): Determines if a Unicode codepoint is valid.
  • October 9, 2026
    validate_current_theme(): Checks that the active theme has the required files.
  • October 9, 2026
    user_can_for_site(): Returns whether a particular user has the specified capability for a given site.
  • October 9, 2026
    user_can(): Returns whether a particular user has the specified capability.
  • October 9, 2026
    update_term_meta(): Updates term metadata.
  • October 9, 2026
    update_user_meta(): Updates user meta field based on user ID.
  • October 9, 2026
    update_comment_cache(): Updates the comment cache of given comments.
  • October 9, 2026
    update_option(): Updates the value of an option that was already added.
  • October 9, 2026
    update_post_meta(): Updates a post meta field based on the given post ID.
  • October 9, 2026
    unregister_default_headers(): Unregisters default headers.
  • October 9, 2026
    the_title_attribute(): Sanitizes the current title when retrieving or displaying.
  • October 9, 2026
    the_widget(): Outputs an arbitrary widget as a template tag.
  • October 9, 2026
    the_title(): Displays or retrieves the current post title with optional markup.
  • October 9, 2026
    the_guid(): Displays the Post Global Unique Identifier (guid).
  • October 9, 2026
    the_post_thumbnail(): Displays the post thumbnail.
  • October 9, 2026
    site_url(): Retrieves the URL for the current site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.
  • October 9, 2026
    shortcode_atts(): Combines user attributes with known attributes and fill in defaults when needed.
  • October 9, 2026
    shortcode_parse_atts(): Retrieves all attributes from the shortcodes tag.
  • October 9, 2026
    set_transient(): Sets/updates the value of a transient.
  • October 9, 2026
    SEOPress is a WordPress SEO plugin that provides controls for search metadata and related site-optimization features.
  • October 9, 2026
    send_origin_headers(): Sends Access-Control-Allow-Origin and related headers if the current request is from an allowed origin.
  • October 9, 2026
    sanitize_user_field(): Sanitizes user field based on context.
  • October 9, 2026
    sanitize_title(): Sanitizes a string into a slug, which can be used in URLs or HTML attributes.
  • October 9, 2026
    retrieve_widgets(): Validates and remaps any "orphaned" widgets to wp_inactive_widgets sidebar, and saves the widget settings.
  • October 9, 2026
    rest_handle_options_request(): Handles OPTIONS requests for the server.
  • October 9, 2026
    rest_is_field_included(): Given an array of fields to include in a response, some of which may be nested.fields, determine whether the…
  • October 9, 2026
    rest_get_date_with_gmt(): Parses a date into both its local and UTC equivalent, in MySQL datetime format.
  • October 9, 2026
    rest_get_endpoint_args_for_schema(): Retrieves an array of endpoint arguments from the item schema and endpoint method.
  • October 9, 2026
    rest_get_avatar_urls(): Retrieves the avatar URLs in various sizes.
  • October 9, 2026
    rest_find_one_matching_schema(): Finds the matching schema among the "oneOf" schemas.
  • October 9, 2026
    rest_ensure_response(): Ensures a REST response is a response object (for consistency).
  • October 9, 2026
    rest_filter_response_fields(): Filters the REST API response to include only an allow-listed set of response object fields.
  • October 9, 2026
    rest_are_values_equal(): Checks the equality of two values, following JSON Schema semantics.