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 |
---|---|
1432 | <?php } ?> |
1433 | </div> |
1434 | <?php |
1435 | // Check quota for this blog if multisite |
1436 | if ( is_multisite() && !is_upload_space_available() ) { |
1437 | echo '<p>' . sprintf( __( 'Sorry, you have filled your storage quota (%s MB).' ), get_space_allowed() ) . '</p>'; |
1438 | return; |
1439 | } |
1440 |
|
1441 | do_action('pre-upload-ui'); |
1442 |
|
1443 | if ( $flash ) : ?> |
1444 | <script type="text/javascript"> |
1445 | //<![CDATA[ |
1446 | var swfu; |
1447 | SWFUpload.onload = function() { |
1448 | var settings = { |
1449 | button_text: '<span class="button"><?php _e('Select Files'); ?><\/span>', |
1450 | 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; }', |