File: wp-includes/functions.php
-
Filters the memory limit allocated for an arbitrary context.
-
functionwp_raise_memory_limit()
Attempts to raise the PHP memory limit for memory intensive processes.
-
function_deprecated_hook()
Marks a deprecated action or filter hook as deprecated and throws a notice.
-
Fires when a deprecated hook is called.
-
Filters whether to trigger deprecated hook errors.
-
functionwp_check_jsonp_callback()
Checks that a JSONP callback is a valid JavaScript callback name.
-
functionwp_get_ext_types()
Retrieves the list of common file extensions and their types.
-
Filters the result when generating a unique file name.
-
function_wp_upload_dir()
A non-filtered, non-cached version of wp_upload_dir() that doesn’t check the path.
-
functionwp_get_upload_dir()
Retrieves uploads directory information.
-
functionwp_get_raw_referer()
Retrieves unvalidated referer from the ‘_wp_http_referer’ URL query variable or the HTTP referer.
-
functionmysql_to_rfc3339()
Parses and formats a MySQL datetime (Y-m-d H:i:s) for ISO8601 (Y-m-d\TH:i:s).
-
functionwp_is_numeric_array()
Determines if the variable is a numeric-indexed array.
-
hookdo_feed_{$feed}
Fires once the given feed is loaded.
-
functionwp_removable_query_args()
Returns an array of single-use query variable names that can be removed from a URL.
-
Filters the list of query variable names to remove.
-
hookenclosure_links
Filters the list of enclosure links before querying the database.
-
functionwp_maybe_decline_date()
Determines if the date should be declined.
-
functionwp_post_preview_js()
Outputs a small JS snippet on preview tabs/windows to remove `window.name` when a user is navigating to another page.
-
Filters the main network ID.
-
functionget_main_network_id()
Gets the main network ID.
-
function_deprecated_constructor()
Marks a constructor as deprecated and informs when it has been used.
-
Fires when a deprecated constructor is called.
-
Filters whether to trigger an error for deprecated functions.
-
hookwp_delete_file
Filters the path of the file to delete.
-
functionwp_delete_file()
Deletes a file.
-
functionwp_json_encode()
Encodes a variable into JSON, with some confidence checks.
-
functionwp_validate_boolean()
Filters/validates a variable as a boolean.
-
Filters the maximum memory limit available for administration screens.
-
Filters the memory limit allocated for image manipulation.