Uses
Uses | Description |
---|---|
wp-admin/includes/file.php: wp_handle_upload() | Wrapper for _wp_handle_upload(). |
wp-includes/cron.php: wp_schedule_single_event() | Schedules an event to run only once. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/formatting.php: sanitize_file_name() | Sanitizes a filename, replacing whitespace with dashes. |
wp-includes/functions.php: wp_die() | Kills WordPress execution and displays HTML page with an error message. |
wp-includes/functions.php: wp_upload_dir() | Returns an array containing the current upload directory’s path and URL. |
wp-includes/post.php: wp_insert_attachment() | Insert an attachment. |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |
wp-includes/post.php: get_attached_file() | Retrieve attached file path based on attachment ID. |