File: wp-includes/functions.php
-
functionis_lighttpd_before_150()
Determines whether the server is running an earlier than 1.5.0 version of lighttpd.
-
functionapache_mod_loaded()
Determines whether the specified module exist in the Apache config.
-
functioniis7_supports_permalinks()
Checks if IIS 7+ supports pretty permalinks.
-
Filters whether IIS 7+ supports pretty permalinks.
-
function_deprecated_function()
Marks a function as deprecated and inform when it has been used.
-
functionvalidate_file()
Validates a file name and path against an allowed set of rules.
-
Fires when a deprecated function is called.
-
function_config_wp_siteurl()
Retrieves the WordPress site URL.
-
function_mce_set_direction()
Sets the localized direction for MCE plugin.
-
functionsmilies_init()
Converts smiley code to the icon graphic file equivalent.
-
functionwp_parse_args()
Merges user defined arguments into defaults array.
-
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.
-
functionwp_filter_object_list()
Filters a list of objects, based on a set of key => value arguments.
-
functionwp_list_filter()
Filters a list of objects, based on a set of key => value arguments.
-
functionwp_list_pluck()
Plucks a certain field out of each object or array in an array.
-
functionwp_maybe_load_widgets()
Determines if Widgets library should be loaded.
-
Filters whether to load the Widgets library.
-
function_scalar_wp_die_handler()
Kills WordPress execution and displays an error message.
-
functionwp_widgets_add_menu()
Appends the Widgets menu to the themes main menu.
-
functionwp_send_json()
Sends a JSON response back to an Ajax request.
-
functionwp_ob_end_flush_all()
Flushes all output buffers for PHP 5.2.
-
functionwp_send_json_success()
Sends a JSON response back to an Ajax request, indicating success.
-
functiondead_db()
Loads custom DB error or display WordPress DB error.
-
functionwp_send_json_error()
Sends a JSON response back to an Ajax request, indicating failure.
-
function_config_wp_home()
Retrieves the WordPress home page URL.
-
hookmime_types
Filters the list of mime types and file extensions.
-
functionget_allowed_mime_types()
Retrieves the list of allowed mime types and file extensions.
-
hookupload_mimes
Filters the list of allowed mime types and file extensions.
-
functionwp_nonce_ays()
Displays “Are You Sure” message to confirm the action being taken.