WordPress hook directory
wp_handle_upload

Description

Applied to the upload information when uploading a file. Filter function argument: array with elements "file" (file name), "url", "type".

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for wp_handle_upload

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.1 xmlrpc.php 878 View in context filter
2.1 wp-admin/admin-functions.php 1889 View in context filter
2.2 xmlrpc.php 1494 View in context filter
2.2 wp-admin/admin-functions.php 1975 View in context filter
2.3 xmlrpc.php 1597 View in context filter
2.3 wp-admin/includes/file.php 184 View in context filter
2.5 xmlrpc.php 1905 View in context filter
2.5 wp-admin/includes/file.php 186 View in context filter
2.6 xmlrpc.php 2177 View in context filter
2.6 wp-admin/includes/file.php 211 View in context filter
2.6 wp-admin/includes/file.php 307 View in context filter
2.7 xmlrpc.php 2857 View in context filter
2.7 wp-admin/includes/file.php 307 View in context filter
2.7 wp-admin/includes/file.php 417 View in context filter
2.8 xmlrpc.php 2884 View in context filter
2.8 wp-admin/includes/file.php 311 View in context filter
2.8 wp-admin/includes/file.php 421 View in context filter
2.9 xmlrpc.php 2907 View in context filter
2.9 wp-admin/includes/file.php 324 View in context filter
2.9 wp-admin/includes/file.php 434 View in context filter
3.0 xmlrpc.php 2826 View in context filter
3.0 wp-admin/includes/file.php 351 View in context filter
3.0 wp-admin/includes/file.php 465 View in context filter
3.1 wp-admin/includes/file.php 378 View in context filter
3.1 wp-admin/includes/file.php 498 View in context filter
3.1 wp-includes/class-wp-xmlrpc-server.php 3016 View in context filter
3.2 wp-admin/includes/file.php 342 View in context filter
3.2 wp-admin/includes/file.php 462 View in context filter
3.2 wp-includes/class-wp-xmlrpc-server.php 3103 View in context filter
3.3 wp-admin/includes/file.php 362 View in context filter
3.3 wp-admin/includes/file.php 482 View in context filter
3.3 wp-includes/class-wp-xmlrpc-server.php 3104 View in context filter
3.4 wp-admin/includes/file.php 342 View in context filter
3.4 wp-admin/includes/file.php 462 View in context filter
3.4 wp-includes/class-wp-xmlrpc-server.php 4588 View in context filter
3.5 wp-admin/includes/file.php 345 View in context filter
3.5 wp-admin/includes/file.php 466 View in context filter
3.5 wp-includes/class-wp-xmlrpc-server.php 4984 View in context filter
3.6 wp-admin/includes/file.php 351 View in context filter
3.6 wp-admin/includes/file.php 476 View in context filter
3.6 wp-includes/class-wp-xmlrpc-server.php 4993 View in context filter
3.7 wp-admin/includes/file.php 327 View in context filter
3.7 wp-admin/includes/file.php 452 View in context filter
3.7 wp-includes/class-wp-xmlrpc-server.php 4996 View in context filter
3.8 wp-admin/includes/file.php 327 View in context filter
3.8 wp-admin/includes/file.php 452 View in context filter
3.8 wp-includes/class-wp-xmlrpc-server.php 4995 View in context filter
3.9 wp-admin/includes/file.php 348 View in context filter
3.9 wp-admin/includes/file.php 473 View in context filter
3.9 wp-includes/class-wp-xmlrpc-server.php 5353 View in context filter
4.0 wp-admin/includes/file.php 374 View in context filter
4.0 wp-includes/class-wp-xmlrpc-server.php 5393 View in context filter
4.1 wp-admin/includes/file.php 370 View in context filter
4.1 wp-includes/class-wp-xmlrpc-server.php 5354 View in context filter
4.2 wp-admin/includes/file.php 381 View in context filter
4.2 wp-includes/class-wp-xmlrpc-server.php 5356 View in context filter
4.3 wp-admin/includes/file.php 381 View in context filter
4.3 wp-includes/class-wp-xmlrpc-server.php 5746 View in context filter
4.4 wp-admin/includes/file.php 398 View in context filter
4.4 wp-includes/functions.php 2081 View in context filter
4.5 wp-admin/includes/file.php 409 View in context filter
4.5 wp-includes/functions.php 2174 View in context filter
4.6 wp-admin/includes/file.php 415 View in context filter
4.6 wp-includes/functions.php 2180 View in context filter
4.7 wp-admin/includes/file.php 416 View in context filter
4.7 wp-includes/functions.php 2200 View in context filter
4.8 wp-admin/includes/file.php 416 View in context filter
4.8 wp-includes/functions.php 2191 View in context filter
4.9 wp-admin/includes/file.php 888 View in context filter
4.9 wp-includes/functions.php 2199 View in context filter
5.0 wp-admin/includes/file.php 889 View in context filter
5.0 wp-includes/functions.php 2220 View in context filter
5.1 wp-admin/includes/file.php 892 View in context filter
5.1 wp-includes/functions.php 2415 View in context filter

Related Hooks

We find related hooks using word stems. wp_handle_upload has 2 significant word stem(s): handle, upload. Note that some of the hooks below may not appear in all versions of WP.