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

Tag: PHP

  • October 9, 2026
    class_uses() — Return the traits used by the given class.
  • October 9, 2026
    class_implements() — Return the interfaces which are implemented by the given class or interface.
  • October 9, 2026
    class_alias() — Creates an alias for a class.
  • October 9, 2026
    class_exists() — Checks if the class has been defined.
  • October 9, 2026
    checkdnsrr() — Check DNS records corresponding to a given Internet host name or IP address.
  • October 9, 2026
    chr() — Generate a single-byte string from a number.
  • October 9, 2026
    call_user_func_array() — Call a callback with an array of parameters.
  • October 9, 2026
    checkdate() — Validate a Gregorian date.
  • October 9, 2026
    call_user_func() — Call the callback given by the first parameter.
  • October 9, 2026
    addslashes() — Quote string with slashes.
  • October 9, 2026
    array_chunk() — Split an array into chunks.
  • October 9, 2026
    array_column() — Return the values from a single column in the input array.
  • October 9, 2026
    array_combine() — Creates an array by using one array for keys and another for its values.
  • October 9, 2026
    array_filter() — Filters elements of an array using a callback function.
  • October 9, 2026
    array_keys() — Return all the keys or a subset of the keys of an array.
  • October 9, 2026
    array_map() — Applies the callback to the elements of the given arrays.
  • October 9, 2026
    array_merge() — Merge one or more arrays.
  • October 9, 2026
    array_reduce() — Iteratively reduce the array to a single value using a callback function.
  • October 9, 2026
    array_unique() — Removes duplicate values from an array.
  • October 9, 2026
    base64_encode() — Encodes data with MIME base64.
  • 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_single_event(): Schedules an event to run only once.
  • October 9, 2026
    wp_schedule_event(): Schedules a recurring event.
  • 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_sidebar_widget(): Registers an instance of a widget.
  • October 9, 2026
    wp_register_style(): Registers a CSS stylesheet.
  • 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.
  • 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_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_schedules(): Retrieves supported event recurrence schedules.
  • 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.