Uses
| Uses | Description | 
|---|---|
| wp-admin/includes/media.php: wp_media_attach_action | Fires when media is attached or detached from a post. | 
| wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. | 
| wp-includes/l10n.php: __() | Retrieve the translation of $text. | 
| wp-includes/pluggable.php: wp_redirect() | Redirects to another page. | 
| wp-includes/functions.php: wp_die() | Kills WordPress execution and displays HTML page with an error message. | 
| wp-includes/functions.php: wp_get_referer() | Retrieve referer from ‘_wp_http_referer’ or HTTP referer. | 
| wp-includes/functions.php: remove_query_arg() | Removes an item or items from a query string. | 
| wp-includes/functions.php: add_query_arg() | Retrieves a modified URL query string. | 
| wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. | 
| wp-includes/post.php: clean_attachment_cache() | Will clean the attachment in the cache. | 
| wp-includes/wp-db.php: wpdb::query() | Performs a MySQL database query, using current database connection. | 
| wp-includes/wp-db.php: wpdb::prepare() | Prepares a SQL query for safe execution. |