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

Tag: PHP

  • October 9, 2026
    wp_update_comment(): Updates an existing comment in the database.
  • October 9, 2026
    wp_update_comment_count(): Updates the comment count for post(s).
  • October 9, 2026
    wp_specialchars_decode(): Converts a number of HTML entities into their special characters.
  • October 9, 2026
    wp_sprintf_l(): Localizes list items before the rest of the content.
  • October 9, 2026
    wp_transition_comment_status(): Calls hooks for when a comment status transition occurs.
  • October 9, 2026
    wp_get_attachment_image_sizes(): Retrieves the value for an image attachment's 'sizes' attribute.
  • October 9, 2026
    wp_get_attachment_image_src(): Retrieves an image to represent an attachment.
  • October 9, 2026
    wp_get_attachment_image_srcset(): Retrieves the value for an image attachment's 'srcset' attribute.
  • October 9, 2026
    wp_get_attachment_image_url(): Gets the URL of an image attachment.
  • October 9, 2026
    wp_get_avif_info(): Extracts meta information about an AVIF file: width, height, bit depth, and number of channels.
  • October 9, 2026
    wp_get_loading_optimization_attributes(): Gets loading optimization attributes.
  • October 9, 2026
    wp_get_object_terms(): Retrieves the terms associated with the given object(s), in the supplied taxonomies.
  • October 9, 2026
    wp_get_split_term(): Gets the new term ID corresponding to a previously split term.
  • October 9, 2026
    wp_pre_kses_block_attributes(): Removes non-allowable HTML from parsed block attribute values when filtering in the post context.
  • October 9, 2026
    wp_slash(): Adds slashes to a string or recursively adds slashes to strings within an array.
  • October 9, 2026
    wp_spaces_regexp(): Returns the regexp for common whitespace characters.
  • October 9, 2026
    wp_date(): Retrieves the date, in localized format.
  • October 9, 2026
    wp_delete_object_term_relationships(): Unlinks the object from the taxonomy or taxonomies.
  • October 9, 2026
    the_date(): Displays or retrieves the date of the post (once per date).
  • October 9, 2026
    the_modified_date(): Displays the date on which the post was last modified.
  • October 9, 2026
    update_termmeta_cache(): Updates metadata cache for list of term IDs.
  • October 9, 2026
    wp_add_object_terms(): Adds term(s) associated with a given object.
  • October 9, 2026
    wp_auth_check(): Checks whether a user is still logged in, for the heartbeat.
  • October 9, 2026
    wp_check_filetype(): Retrieves the file type from the file name.
  • October 9, 2026
    wp_check_filetype_and_ext(): Attempts to determine the real file type of a file.
  • October 9, 2026
    wp_check_jsonp_callback(): Checks that a JSONP callback is a valid JavaScript callback name.
  • October 9, 2026
    wp_check_term_hierarchy_for_loops(): Checks the given subset of the term hierarchy for hierarchy loops.
  • October 9, 2026
    session_module_name() — Get and/or set the current session module.
  • October 9, 2026
    session_name() — Get and/or set the current session name.
  • October 9, 2026
    session_save_path() — Get and/or set the current session save path.
  • October 9, 2026
    set_post_thumbnail(): Sets the post thumbnail (featured image) for the given post.
  • October 9, 2026
    single_tag_title(): Displays or retrieves page title for tag post archive.
  • October 9, 2026
    single_term_title(): Displays or retrieves page title for taxonomy term archive.
  • October 9, 2026
    spl_object_id() — Return the integer object handle for given object.
  • October 9, 2026
    sanitize_post(): Sanitizes every post field.
  • October 9, 2026
    sanitize_post_field(): Sanitizes a post field based on context.
  • October 9, 2026
    serialize() — Generates a storable representation of a value.
  • October 9, 2026
    mktime() — Get Unix timestamp for a date.
  • October 9, 2026
    register_post_meta(): Registers a meta key for posts.
  • October 9, 2026
    register_post_status(): Registers a post status.
  • October 9, 2026
    is_subclass_of() — Checks if the object has this class as one of its parents or implements it.
  • October 9, 2026
    localtime() — Get the local time.
  • October 9, 2026
    mb_encode_numericentity() — Encode character to HTML numeric string reference.
  • October 9, 2026
    mb_ereg_replace_callback() — Perform a regular expression search and replace with multibyte support using a callback.
  • October 9, 2026
    mb_ereg_search_pos() — Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string
  • October 9, 2026
    header_register_callback() — Call a header function.
  • October 9, 2026
    http_response_code() — Get or Set the HTTP response code.
  • October 9, 2026
    inet_pton() — Converts a human readable IP address to its packed in_addr representation.
  • October 9, 2026
    is_iterable() — Verify that the contents of a variable is an iterable value.
  • October 9, 2026
    is_sticky(): Determines whether a post is sticky.
  • October 9, 2026
    get_html_translation_table() — Returns the translation table used by htmlspecialchars and htmlentities.
  • October 9, 2026
    get_post_comments_feed_link(): Retrieves the permalink for the post comments feed.
  • October 9, 2026
    get_post_permalink(): Retrieves the permalink for a post of a custom post type.
  • October 9, 2026
    get_post_type_archive_feed_link(): Retrieves the permalink for a post type archive feed.
  • October 9, 2026
    get_posts_nav_link(): Retrieves the post pages link navigation for previous and next pages.
  • October 9, 2026
    get_preview_post_link(): Retrieves the URL used for the post preview.
  • October 9, 2026
    get_resources() — Returns active resources.
  • October 9, 2026
    getlastmod() — Gets time of last page modification.
  • October 9, 2026
    getrusage() — Gets the current resource usages.
  • October 9, 2026
    ctype_upper() — Check for uppercase character(s).
  • October 9, 2026
    ctype_xdigit() — Check for character(s) representing a hexadecimal digit.
  • October 9, 2026
    curl_upkeep() — Performs any connection upkeep checks.
  • October 9, 2026
    chgrp() — Changes file group.
  • October 9, 2026
    chunk_split() — Can be used to split a string into smaller chunks which is useful for e.g. converting base64_encode output…
  • October 9, 2026
    clearstatcache() — Clears file status cache.
  • October 9, 2026
    count_chars() — Return information about characters used in a string.
  • October 9, 2026
    basename() — Returns trailing name component of path.
  • October 9, 2026
    array_change_key_case() — Changes the case of all keys in an array.
  • October 9, 2026
    array_count_values() — Counts the occurrences of each distinct value in an array.
  • October 9, 2026
    array_diff() — Computes the difference of arrays.
  • October 9, 2026
    wp_validate_redirect(): Validates a URL for use in a redirect.
  • October 9, 2026
    wp_validate_auth_cookie(): Validates authentication cookie.
  • October 9, 2026
    wp_validate_logged_in_cookie(): Validates the logged-in cookie.
  • October 9, 2026
    wp_text_diff(): Displays a human readable HTML representation of the difference between two strings.
  • October 9, 2026
    wp_update_custom_css_post(): Updates the custom_css post for a given theme.
  • October 9, 2026
    wp_set_password(): Updates the user's password with a new hashed one.
  • October 9, 2026
    wp_signon(): Authenticates and logs a user in with 'remember' capability.
  • October 9, 2026
    wp_set_options_autoload(): Sets the autoload value for multiple options in the database.
  • October 9, 2026
    wp_set_option_autoload_values(): Sets the autoload values for multiple options in the database.
  • October 9, 2026
    wp_set_option_autoload(): Sets the autoload value for an option in the database.
  • October 9, 2026
    wp_set_comment_status(): Sets the status of a comment.
  • October 9, 2026
    wp_set_current_user(): Changes the current user by ID or name.
  • October 9, 2026
    wp_set_auth_cookie(): Sets the authentication cookies for a given user ID.
  • October 9, 2026
    wp_set_comment_cookies(): Sets the cookies used to store an unauthenticated commentator's identity.
  • October 9, 2026
    wp_send_new_user_notifications(): Initiates email notifications related to the creation of new users.
  • October 9, 2026
    wp_register_block_types_from_metadata_collection(): Registers all block types from a block metadata collection.
  • October 9, 2026
    wp_salt(): Returns a salt to add to hashes.
  • October 9, 2026
    wp_prime_network_option_caches(): Primes specific network options into the cache with a single database query.
  • October 9, 2026
    wp_register_block_metadata_collection(): Registers a block metadata collection.
  • October 9, 2026
    wp_new_comment(): Adds a new comment to the database.
  • October 9, 2026
    wp_page_menu(): Displays or retrieves a list of pages with an optional home link.
  • October 9, 2026
    wp_list_comments(): Displays a list of comments.
  • October 9, 2026
    wp_list_users(): Lists all the users of the site, with several options available.
  • October 9, 2026
    wp_kses_split(): Searches for HTML tags, no matter how malformed.
  • October 9, 2026
    wp_kses_uri_attributes(): Returns an array of HTML attribute names whose value contains a URL.
  • October 9, 2026
    wp_kses_one_attr(): Filters one HTML attribute and ensures its value is allowed.
  • October 9, 2026
    wp_kses_hook(): You add any KSES hooks here.
  • October 9, 2026
    wp_kses_normalize_entities(): Converts and fixes HTML entities.
  • October 9, 2026
    wp_insert_comment(): Inserts a comment into the database.
  • October 9, 2026
    wp_kses_hair_parse(): Builds an attribute list from string containing attributes.