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

Tag: WordPress

  • 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.
  • October 9, 2026
    wp_handle_comment_submission(): Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form.
  • October 9, 2026
    wp_html_excerpt(): Safely extracts not more than the first $count characters from HTML string.
  • October 9, 2026
    wp_get_themes(): Returns an array of WP_Theme objects based on the arguments.
  • October 9, 2026
    wp_get_user_contact_methods(): Sets up the user contact methods.
  • October 9, 2026
    wp_get_current_commenter(): Gets current commenter's name, email, and URL.
  • October 9, 2026
    wp_get_theme(): Gets a WP_Theme object for a theme.
  • October 9, 2026
    wp_filter_comment(): Filters and sanitizes comment data.
  • October 9, 2026
    wp_filter_content_tags(): Filters specific tags in post content and modifies their markup.
  • October 9, 2026
    wp_expand_dimensions(): Based on a supplied width/height example, returns the biggest possible dimensions based on the max width/height.
  • October 9, 2026
    wp_dropdown_languages(): Displays or returns a Language selector.
  • October 9, 2026
    wp_dropdown_users(): Creates dropdown HTML content of users.
  • October 9, 2026
    wp_defer_comment_counting(): Determines whether to defer comment counting.
  • October 9, 2026
    wp_delete_comment(): Trashes or deletes a comment.
  • October 9, 2026
    wp_create_user_request(): Creates and logs a user request to perform a specific action.
  • October 9, 2026
    wp_customize_support_script(): Prints a script to check whether or not the Customizer is supported, and apply either the no-customize-support or customize-support…
  • October 9, 2026
    wp_count_comments(): Retrieves the total comment counts for the whole site or a single post.
  • October 9, 2026
    wp_comments_personal_data_eraser(): Erases personal data associated with an email address from the comments table.
  • October 9, 2026
    wp_comments_personal_data_exporter(): Finds and exports personal data associated with an email address from the comments table.
  • October 9, 2026
    wp_constrain_dimensions(): Calculates the new dimensions for a down-sampled image.
  • October 9, 2026
    wp_check_invalid_utf8(): Checks for invalid UTF8 in a string.
  • October 9, 2026
    wp_comment_form_unfiltered_html_nonce(): Displays form token for unfiltered comments.
  • October 9, 2026
    wp_check_comment_disallowed_list(): Checks if a comment contains disallowed characters or words.
  • October 9, 2026
    wp_check_comment_flood(): Checks whether comment flooding is occurring.
  • October 9, 2026
    wp_authenticate_spam_check(): For Multisite blogs, checks if the authenticated user has been marked as a spammer, or if the user's primary…
  • October 9, 2026
    wp_calculate_image_sizes(): Creates a 'sizes' attribute value for an image.
  • October 9, 2026
    wp_calculate_image_srcset(): A helper function to calculate the image sources to include in a 'srcset' attribute.
  • October 9, 2026
    wp_authenticate_application_password(): Authenticates the user using an application password.
  • October 9, 2026
    wp_authenticate_cookie(): Authenticates the user using the WordPress auth cookie.
  • October 9, 2026
    wp_audio_shortcode(): Builds the Audio shortcode output.
  • October 9, 2026
    wp_allow_comment(): Validates whether this comment is allowed to be made.
  • October 9, 2026
    wp_allowed_protocols(): Retrieves a list of protocols to allow in HTML attributes.
  • October 9, 2026
    win_is_writable(): Workaround for Windows bug in is_writable() function PHP has issues with Windows ACL's for determine if a directory is…
  • October 9, 2026
    validate_file(): Validates a file name and path against an allowed set of rules.
  • October 9, 2026
    update_user_option(): Updates user option with global blog capability.
  • October 9, 2026
    update_object_term_cache(): Updates the cache for the given term object ID(s).
  • October 9, 2026
    update_metadata_by_mid(): Updates metadata by meta ID.
  • October 9, 2026
    update_network_option(): Updates the value of a network option that was already added.
  • October 9, 2026
    update_metadata(): Updates metadata for the specified object.
  • October 9, 2026
    update_meta_cache(): Updates the metadata cache for the specified objects.
  • October 9, 2026
    update_comment_meta(): Updates comment meta field based on comment ID.
  • October 9, 2026
    untrailingslashit(): Removes trailing forward slashes and backslashes if they exist.
  • October 9, 2026
    unregister_meta_key(): Unregisters a meta key from the list of registered keys.
  • October 9, 2026
    unregister_term_meta(): Unregisters a meta key for terms.
  • October 9, 2026
    translate_user_role(): Translates role name.
  • October 9, 2026
    translate_with_gettext_context(): Retrieves the translation of $text in the context defined in $context.
  • October 9, 2026
    translate_nooped_plural(): Translates and returns the singular or plural form of a string that's been registered with _n_noop() or _nx_noop().
  • October 9, 2026
    translate_smiley(): Converts one smiley code to the icon graphic file equivalent.
  • October 9, 2026
    translate(): Retrieves the translation of $text.
  • October 9, 2026
    trailingslashit(): Appends a trailing slash.
  • October 9, 2026
    the_taxonomies(): Displays the taxonomies of a post with available options.
  • October 9, 2026
    term_exists(): Determines whether a taxonomy term exists.
  • October 9, 2026
    term_is_ancestor_of(): Checks if a term is an ancestor of another term.
  • October 9, 2026
    strip_core_block_namespace(): Returns the block name to use for serialization.
  • October 9, 2026
    size_format(): Converts a number of bytes to the largest unit the bytes will fit into.
  • October 9, 2026
    smilies_init(): Converts smiley code to the icon graphic file equivalent.
  • October 9, 2026
    single_month_title(): Displays or retrieves page title for post archive based on date.
  • October 9, 2026
    single_post_title(): Displays or retrieves page title for post.
  • October 9, 2026
    single_cat_title(): Displays or retrieves page title for category archive.
  • October 9, 2026
    set_site_transient(): Sets/updates the value of a site transient.
  • October 9, 2026
    set_user_setting(): Adds or updates user interface setting.
  • October 9, 2026
    set_post_thumbnail_size(): Registers an image size for the post thumbnail.
  • October 9, 2026
    serialize_blocks(): Returns a joined string of the aggregate serialization of the given parsed blocks.
  • October 9, 2026
    serialize_block_attributes(): Given an array of attributes, returns a string in the serialized attributes format prepared for post content.
  • October 9, 2026
    serialize_block(): Returns the content of a block, including comment delimiters, serializing all attributes from the given parsed block.
  • October 9, 2026
    selected(): Outputs the HTML selected attribute.
  • October 9, 2026
    sanitize_title_with_dashes(): Sanitizes a title, replacing whitespace and a few other characters with dashes.
  • October 9, 2026
    sanitize_user(): Sanitizes a username, stripping out unsafe characters.
  • October 9, 2026
    sanitize_term(): Sanitizes all term fields.
  • October 9, 2026
    sanitize_term_field(): Sanitizes the field value in the term based on the context.
  • October 9, 2026
    sanitize_sql_orderby(): Ensures a string is a valid SQL 'order by' clause.