Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: swfupload_success_handler

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1510                post_params : {
1511                     <?php echo $post_params_str; ?>
1512                },
1513                file_size_limit : "<?php echo $max_upload_size; ?>b",
1514                file_dialog_start_handler : fileDialogStart,
1515                file_queued_handler : fileQueued,
1516                upload_start_handler : uploadStart,
1517                upload_progress_handler : uploadProgress,
1518                upload_error_handler : uploadError,
1519                upload_success_handler : <?php echo apply_filters( 'swfupload_success_handler', 'uploadSuccess' ); ?>,
1520                upload_complete_handler : uploadComplete,
1521                file_queue_error_handler : fileQueueError,
1522                file_dialog_complete_handler : fileDialogComplete,
1523                swfupload_pre_load_handler: swfuploadPreLoad,
1524                swfupload_load_failed_handler: swfuploadLoadFailed,
1525                custom_settings : {
1526                     degraded_element_id : "html-upload-ui", // id of the element displayed when swfupload is unavailable
1527                     swfupload_element_id : "flash-upload-ui" // id of the element displayed when swfupload is available
1528                },