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
1526                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; }',
1527                button_height: "23",
1528                button_width: "132",
1529                button_text_top_padding: 3,
1530                button_image_url: '<?php echo $upload_image_path; ?>',
1531                button_placeholder_id: "flash-browse-button",
1532                upload_url : "<?php echo esc_attr( $flash_action_url ); ?>",
1533                flash_url : "<?php echo includes_url('js/swfupload/swfupload.swf'); ?>",
1534                file_post_name: "async-upload",
1535                file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>",
1536                post_params : {
1537                     <?php echo $post_params_str; ?>
1538                },
1539                file_size_limit : "<?php echo $max_upload_size; ?>b",
1540                file_dialog_start_handler : fileDialogStart,
1541                file_queued_handler : fileQueued,
1542                upload_start_handler : uploadStart,
1543                upload_progress_handler : uploadProgress,
1544                upload_error_handler : uploadError,