File: wp-includes/functions.php
-
functionwp_widgets_add_menu()
Appends the Widgets menu to the themes main menu.
-
function_mce_set_direction()
Sets the localized direction for MCE plugin.
-
functionwp_ob_end_flush_all()
Flushes all output buffers for PHP 5.2.
-
functionsmilies_init()
Converts smiley code to the icon graphic file equivalent.
-
functiondead_db()
Loads custom DB error or display WordPress DB error.
-
functionwp_parse_args()
Merges user defined arguments into defaults array.
-
functionabsint()
Converts a value to non-negative integer.
-
functionwp_parse_id_list()
Cleans up an array, comma- or space-separated list of IDs.
-
functionwp_array_slice_assoc()
Extracts a slice of an array, given a list of keys.
-
function_scalar_wp_die_handler()
Kills WordPress execution and displays an error message.
-
functionwp_filter_object_list()
Filters a list of objects, based on a set of key => value arguments.
-
functionwp_send_json()
Sends a JSON response back to an Ajax request.
-
functionwp_list_filter()
Filters a list of objects, based on a set of key => value arguments.
-
functionwp_send_json_success()
Sends a JSON response back to an Ajax request, indicating success.
-
functionwp_list_pluck()
Plucks a certain field out of each object or array in an array.
-
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.
-
Filters the “real” file type of the given file.
-
function_xmlrpc_wp_die_handler()
Kills WordPress execution and displays XML response with an error message.
-
functionwp_get_mime_types()
Retrieves the list of mime types and file extensions.
-
function_ajax_wp_die_handler()
Kills WordPress execution and displays Ajax response with an error message.
-
hookmime_types
Filters the list of mime types and file extensions.