Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: upload_file_glob

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
1500                button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; font-size: 11px; text-shadow: 0 1px 0 #FFFFFF; color:#464646; }',
1501                button_height: "23",
1502                button_width: "132",
1503                button_text_top_padding: 3,
1504                button_image_url: '<?php echo $upload_image_path; ?>',
1505                button_placeholder_id: "flash-browse-button",
1506                upload_url : "<?php echo esc_attr( $flash_action_url ); ?>",
1507                flash_url : "<?php echo includes_url('js/swfupload/swfupload.swf'); ?>",
1508                file_post_name: "async-upload",
1509                file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>",
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,