wp-includes/functions.php
Lines:
1 to 100 of 418
<?php /** * Main WordPress API * * @package WordPress */ require ABSPATH . WPINC . '/option.php'; /* function mysql2date() – Convert given MySQL date string into a different format. */ /* function current_time() – Retrieves the current time based on specified type. */ /* function current_datetime() – Retrieves the current time as an object with the timezone from settings. */ /* function wp_timezone_string() – Retrieves the timezone from site settings as a string. */ /* function wp_timezone() – Retrieves the timezone from site settings as a `DateTimeZone` object. */ /* function date_i18n() – Retrieves the date in localized format, based on a sum of Unix timestamp and timezone offset in seconds. */ /* function wp_date() – Retrieves the date, in localized format. */ /* function wp_maybe_decline_date() – Determines if the date should be declined. */ /* function number_format_i18n() – Convert float number to format based on the locale. */ /* function size_format() – Converts a number of bytes to the largest unit the bytes will fit into. */ /* function human_readable_duration() – Convert a duration to human readable format. */ /* function get_weekstartend() – Get the week start and end from the datetime or date string from MySQL. */ /* function maybe_serialize() – Serialize data, if needed. */ /* function maybe_unserialize() – Unserialize data only if it was serialized. */ /* function is_serialized() – Checks value to find if it was serialized. */ /* function is_serialized_string() – Check whether serialized data is of string type. */ /* function xmlrpc_getposttitle() – Retrieve post title from XMLRPC XML. */ /* function xmlrpc_getpostcategory() – Retrieve the post category or categories from XMLRPC XML. */ /* function xmlrpc_removepostdata() – XMLRPC XML content without title and category elements. */ /* function wp_extract_urls() – Use RegEx to extract URLs from arbitrary content. */ /* function do_enclose() – Check content for video and audio links to add as enclosures. */ /* function wp_get_http_headers() – Retrieve HTTP Headers from URL. */ /* function is_new_day() – Determines whether the publish date of the current post in the loop is different from the publish date of the previous post in the loop. */ /* function build_query() – Build URL query based on an associative and, or indexed array. */ /* function _http_build_query() – From php.net (modified by Mark Jaquith to behave like the native PHP5 function). */ /* function add_query_arg() – Retrieves a modified URL query string. */ /* function remove_query_arg() – Removes an item or items from a query string. */ /* function wp_removable_query_args() – Returns an array of single-use query variable names that can be removed from a URL. */ /* function add_magic_quotes() – Walks the array while sanitizing the contents. */ /* function wp_remote_fopen() – HTTP request for URI to retrieve content. */ /* function wp() – Set up the WordPress query. */ /* function get_status_header_desc() – Retrieve the description for the HTTP status. */ /* function status_header() – Set HTTP status header. */ /* function wp_get_nocache_headers() – Gets the header information to prevent caching. */ /* function nocache_headers() – Set the headers to prevent caching for the different browsers. */ /* function cache_javascript_headers() – Set the headers for caching for 10 days with JavaScript content type. */ /* function get_num_queries() – Retrieve the number of database queries during the WordPress execution. */ /* function bool_from_yn() – Whether input is yes or no. */ /* function do_feed() – Loads the feed template from the use of an action hook. */ /* function do_feed_rdf() – Load the RDF RSS 0.91 Feed template. */ /* function do_feed_rss() – Load the RSS 1.0 Feed Template. */ /* function do_feed_rss2() – Load either the RSS2 comment feed or the RSS2 posts feed. */ /* function do_feed_atom() – Load either Atom comment feed or Atom posts feed. */ /* function do_robots() – Displays the default robots.txt file content. */ /* function do_favicon() – Display the favicon.ico file content. */