WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 1378 | <?php echo $errors['upload_notice']; ?> |
| 1379 | <?php } ?> |
| 1380 | </div> |
| 1381 | <div id="media-upload-error"> |
| 1382 | <?php if (isset($errors['upload_error']) && is_wp_error($errors['upload_error'])) { ?> |
| 1383 | <?php echo $errors['upload_error']->get_error_message(); ?> |
| 1384 | <?php } ?> |
| 1385 | </div> |
| 1386 | |
| 1387 | <?php do_action('pre-upload-ui'); ?> |
| 1388 | |
| 1389 | <?php if ( $flash ) : ?> |
| 1390 | <script type="text/javascript"> |
| 1391 | //<![CDATA[ |
| 1392 | var swfu; |
| 1393 | SWFUpload.onload = function() { |
| 1394 | var settings = { |
| 1395 | button_text: '<span class="button"><?php _e('Select Files'); ?></span>', |
| 1396 | button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }', |