File: wp-includes/functions.php
-
functionwp_upload_dir()
Returns an array containing the current upload directory’s path and URL.
-
hookrobots_txt
Filters the robots.txt output.
-
hookupload_dir
Filters the uploads directory data.
-
functionis_blog_installed()
Determines whether WordPress is already installed.
-
functionwp_unique_filename()
Gets a filename that is sanitized and unique for the given directory.
-
functionwp_nonce_url()
Retrieves URL with nonce added to URL query.
-
functionwp_get_nocache_headers()
Gets the HTTP header information to prevent caching.
-
hooknocache_headers
Filters the cache-controlling HTTP headers that are used to prevent caching.
-
functionnocache_headers()
Sets the HTTP headers to prevent caching for the different browsers.
-
functioncache_javascript_headers()
Sets the HTTP headers for caching for 10 days with JavaScript content type.
-
functionget_num_queries()
Retrieves the number of database queries during the WordPress execution.
-
functionbool_from_yn()
Determines whether input is yes or no.
-
functiondo_feed()
Loads the feed template from the use of an action hook.
-
functiondo_feed_rdf()
Loads the RDF RSS 0.91 Feed template.
-
functionadd_query_arg()
Retrieves a modified URL query string.
-
functiondo_feed_rss()
Loads the RSS 1.0 Feed Template.
-
functionremove_query_arg()
Removes an item or items from a query string.
-
functiondo_feed_rss2()
Loads either the RSS2 comment feed or the RSS2 posts feed.
-
functionadd_magic_quotes()
Walks the array while sanitizing the contents.
-
functiondo_feed_atom()
Loads either Atom comment feed or Atom posts feed.
-
functionwp_remote_fopen()
HTTP request for URI to retrieve content.
-
functionwp()
Sets up the WordPress query.
-
functionget_status_header_desc()
Retrieves the description for the HTTP status.
-
functionstatus_header()
Sets HTTP status header.
-
hookstatus_header
Filters an HTTP status header.
-
functionxmlrpc_getpostcategory()
Retrieves the post category or categories from XML-RPC XML.
-
functionxmlrpc_removepostdata()
XML-RPC XML content without title and category elements.
-
functionwp_extract_urls()
Uses RegEx to extract URLs from arbitrary content.
-
functiondo_enclose()
Checks content for video and audio links to add as enclosures.
-
functionwp_get_http_headers()
Retrieves HTTP Headers from URL.