File: wp-includes/functions.php
-
hookwp_upload_bits
Filters whether to treat the upload bits as an error.
-
functionwp_nonce_ays()
Displays “Are You Sure” message to confirm the action being taken.
-
functionwp_ext2type()
Retrieves the file type based on the extension name.
-
functionwp_die()
Kills WordPress execution and displays HTML page with an error message.
-
hookext2type
Filters file type based on the extension name.
-
Filters the callback for killing WordPress execution for Ajax requests.
-
functionwp_check_filetype()
Retrieves the file type from the file name.
-
Filters the callback for killing WordPress execution for XML-RPC requests.
-
functionwp_check_filetype_and_ext()
Attempts to determine the real file type of a file.
-
hookwp_die_handler
Filters the callback for killing WordPress execution for all non-Ajax, non-JSON, non-XML requests.
-
Filters the list mapping image mime types to their respective extensions.
-
function_default_wp_die_handler()
Kills WordPress execution and displays HTML page with an error message.
-
functionwp_referer_field()
Retrieves or displays referer hidden field for forms.
-
functionwp_upload_dir()
Returns an array containing the current upload directory’s path and URL.
-
functionwp_original_referer_field()
Retrieves or displays original referer hidden field for forms.
-
hookupload_dir
Filters the uploads directory data.
-
functionwp_get_referer()
Retrieves referer from ‘_wp_http_referer’ or HTTP referer.
-
functionwp_unique_filename()
Gets a filename that is sanitized and unique for the given directory.
-
functionwp_get_original_referer()
Retrieves original referer that was posted, if it exists.
-
functionwp_mkdir_p()
Recursive directory creation based on full path.
-
functiondo_robots()
Displays the default robots.txt file content.
-
functionpath_is_absolute()
Tests if a given filesystem path is absolute.
-
hookdo_robotstxt
Fires when displaying the robots.txt file.
-
functionpath_join()
Joins two filesystem paths together.
-
hookrobots_txt
Filters the robots.txt output.
-
functionwp_normalize_path()
Normalizes a filesystem path.
-
functionis_blog_installed()
Determines whether WordPress is already installed.
-
functionget_temp_dir()
Determines a writable directory for temporary files.
-
functionwp_nonce_url()
Retrieves URL with nonce added to URL query.
-
functionwp_is_writable()
Determines if a directory is writable.