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

Tag: WordPress

  • October 9, 2026
    rest_convert_error_to_response(): Converts an error to a response object.
  • October 9, 2026
    rest_cookie_check_errors(): Checks for errors when using cookie-based authentication.
  • October 9, 2026
    require_if_theme_supports(): Checks a theme's support for a given feature before loading the functions which implement it.
  • October 9, 2026
    remove_filter(): Removes a callback function from a filter hook.
  • October 9, 2026
    remove_theme_support(): Allows a theme to de-register its support of a certain feature Should be called in the theme's functions.php file.
  • October 9, 2026
    remove_action(): Removes a callback function from an action hook.
  • October 9, 2026
    register_uninstall_hook(): Sets the uninstallation hook for a plugin.
  • October 9, 2026
    register_taxonomy(): Creates or modifies a taxonomy object.
  • October 9, 2026
    register_theme_feature(): Registers a theme feature for use in add_theme_support().
  • October 9, 2026
    register_sidebars(): Creates multiple sidebars.
  • October 9, 2026
    register_setting(): Registers a setting and its data.
  • October 9, 2026
    register_sidebar(): Builds the definition for a single sidebar and returns the ID.
  • October 9, 2026
    register_rest_field(): Registers a new field on an existing WordPress object type.
  • October 9, 2026
    register_rest_route(): Registers a REST API route.
  • October 9, 2026
    register_post_type(): Registers a post type.
  • October 9, 2026
    register_activation_hook(): Set the activation hook for a plugin.
  • October 9, 2026
    register_block_template(): Register a block template.
  • October 9, 2026
    register_deactivation_hook(): Sets the deactivation hook for a plugin.
  • October 9, 2026
    query_posts(): Sets up The Loop with query parameters.
  • October 9, 2026
    plugins_url(): Retrieves a URL within the plugins or mu-plugins directory.
  • October 9, 2026
    The WordPress object cache stores reusable application values through functions such as wp_cache_get() and wp_cache_set().
  • October 9, 2026
    map_meta_cap(): Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked.
  • October 9, 2026
    map_deep(): Maps a function to all non-iterable elements of an array or an object.
  • October 9, 2026
    locate_block_template(): Finds a block template with equal or higher specificity than a given PHP template file.
  • October 9, 2026
    load_plugin_textdomain(): Loads a plugin's translated strings.
  • October 9, 2026
    load_default_textdomain(): Loads default translated strings based on locale.
  • October 9, 2026
    load_muplugin_textdomain(): Loads the translated strings for a plugin residing in the mu-plugins directory.
  • October 9, 2026
    load_child_theme_textdomain(): Loads the child theme's translated strings.
  • October 9, 2026
    links_add_target(): Adds a target attribute to all links in passed content.
  • October 9, 2026
    links_add_base_url(): Adds a base URL to relative links in passed content.
  • October 9, 2026
    kses_init(): Sets up most of the KSES filters for input form content.
  • October 9, 2026
    iso8601_to_datetime(): Given an ISO 8601 (YmdTH:i:sO) date, returns a MySQL DateTime (Y-m-d H:i:s) format used by post_date[_gmt].
  • October 9, 2026
    is_tax(): Determines whether the query is for an existing custom taxonomy archive page.
  • October 9, 2026
    is_tag(): Determines whether the query is for an existing tag archive page.
  • October 9, 2026
    is_singular(): Determines whether the query is for an existing single post of any post type (post, attachment, page, custom post…
  • October 9, 2026
    is_single(): Determines whether the query is for an existing single post.
  • October 9, 2026
    is_privacy_policy(): Determines whether the query is for the Privacy Policy page.
  • October 9, 2026
    is_random_header_image(): Checks if random header image is in use.
  • October 9, 2026
    is_page_template(): Determines whether the current post uses a page template.
  • October 9, 2026
    is_post_type_archive(): Determines whether the query is for an existing post type archive page.
  • October 9, 2026
    is_home(): Determines whether the query is for the blog homepage.
  • October 9, 2026
    is_page(): Determines whether the query is for an existing single page.
  • October 9, 2026
    is_category(): Determines whether the query is for an existing category archive page.
  • October 9, 2026
    is_day(): Determines whether the query is for an existing day archive.
  • October 9, 2026
    is_front_page(): Determines whether the query is for the front page of the site.
  • October 9, 2026
    is_author(): Determines whether the query is for an existing author archive page.
  • October 9, 2026
    is_attachment(): Determines whether the query is for an existing attachment page.
  • October 9, 2026
    is_active_widget(): Determines whether a given widget is displayed on the front end.
  • October 9, 2026
    is_archive(): Determines whether the query is for an existing archive page.
  • October 9, 2026
    image_constrain_size_for_editor(): Scales down the default size of an image.
  • October 9, 2026
    image_downsize(): Scales an image to fit a particular size (such as 'thumb' or 'medium').
  • October 9, 2026
    human_time_diff(): Determines the difference between two timestamps.
  • October 9, 2026
    home_url(): Retrieves the URL for the current site where the front end is accessible.
  • October 9, 2026
    has_blocks(): Determines whether a post or content string has blocks.
  • October 9, 2026
    has_filter(): Checks if any filter has been registered for a hook.
  • October 9, 2026
    has_action(): Checks if any action has been registered for a hook.
  • October 9, 2026
    has_block(): Determines whether a $post or a string contains a specific block type.
  • October 9, 2026
    get_user_setting(): Retrieves user interface setting value based on setting name.
  • October 9, 2026
    get_weekstartend(): Gets the week start and end from the datetime or date string from MySQL.
  • October 9, 2026
    get_user_meta(): Retrieves user meta field for a user.
  • October 9, 2026
    get_user_option(): Retrieves user option that can be either per Site or per Network.
  • October 9, 2026
    get_user_locale(): Retrieves the locale of a user.
  • October 9, 2026
    get_user_by(): Retrieves user info by a given field.
  • October 9, 2026
    get_user_count(): Returns the number of active users in your installation.
  • October 9, 2026
    get_theme_root_uri(): Retrieves URI for themes directory.
  • October 9, 2026
    get_the_post_thumbnail_url(): Returns the post thumbnail URL.
  • October 9, 2026
    get_the_title(): Retrieves the post title.
  • October 9, 2026
    get_theme_mod(): Retrieves theme modification value for the active theme.
  • October 9, 2026
    get_the_post_thumbnail(): Retrieves the post thumbnail.
  • October 9, 2026
    get_the_guid(): Retrieves the Post Global Unique Identifier (guid).
  • October 9, 2026
    get_term_meta(): Retrieves metadata for a term.
  • October 9, 2026
    get_term(): Gets all term data from database by term ID.
  • October 9, 2026
    get_term_by(): Gets all term data from database by term field and data.
  • October 9, 2026
    get_taxonomy(): Retrieves the taxonomy object of $taxonomy.
  • October 9, 2026
    get_temp_dir(): Determines a writable directory for temporary files.
  • October 9, 2026
    get_taxonomies(): Retrieves a list of registered taxonomy names or objects.
  • October 9, 2026
    get_taxonomies_for_attachments(): Retrieves all of the taxonomies that are registered for attachments.
  • October 9, 2026
    get_tag_regex(): Returns RegEx body to liberally match an opening HTML tag.
  • October 9, 2026
    get_site_option(): Retrieve an option value for the current network based on name of option.
  • October 9, 2026
    get_shortcode_regex(): Retrieves the shortcode regular expression for searching.
  • October 9, 2026
    get_shortcode_tags_in_content(): Returns a list of registered shortcode names found in the given content.
  • October 9, 2026
    get_search_form(): Displays search form.
  • October 9, 2026
    get_rest_url(): Retrieves the URL to a REST endpoint on a site.
  • October 9, 2026
    get_registered_metadata(): Retrieves registered metadata for a specified object.
  • October 9, 2026
    get_registered_settings(): Retrieves an array of registered settings.
  • October 9, 2026
    get_registered_meta_keys(): Retrieves a list of registered metadata args for an object type, keyed by their meta keys.
  • October 9, 2026
    get_posts(): Retrieves an array of the latest posts, or posts matching the given criteria.
  • October 9, 2026
    get_previous_image_link(): Gets the previous image link that has the same post parent.
  • October 9, 2026
    get_query_pagination_arrow(): Helper function that returns the proper pagination arrow HTML for QueryPaginationNext and QueryPaginationPrevious blocks based on the provided paginationArrow…
  • October 9, 2026
    get_post_timestamp(): Retrieves post published or modified time as a Unix timestamp.
  • October 9, 2026
    get_post_status(): Retrieves the post status based on the post ID.
  • October 9, 2026
    get_post_time(): Retrieves the localized time of the post.
  • October 9, 2026
    get_post_meta(): Retrieves a post meta field for the given post ID.
  • October 9, 2026
    get_post_modified_time(): Retrieves the time at which the post was last modified.
  • October 9, 2026
    get_post_embed_html(): Retrieves the embed code for a specific post.
  • October 9, 2026
    get_post_gallery(): Checks a specified post's content for gallery and, if present, return the first
  • October 9, 2026
    get_post_datetime(): Retrieves post published or modified time as a DateTimeImmutable object instance.
  • October 9, 2026
    get_post(): Retrieves post data given a post ID or post object.
  • October 9, 2026
    get_post_class(): Retrieves an array of the class names for the post container element.
  • October 9, 2026
    get_page_hierarchy(): Orders the pages with children under parents in a flat list.