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 |
|---|---|
| 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; }', |
| 1451 | button_height: "23", |
| 1452 | button_width: "132", |
| 1453 | button_text_top_padding: 3, |
| 1454 | button_image_url: '<?php echo includes_url('images/upload.png?ver=20100531'); ?>', |
| 1455 | button_placeholder_id: "flash-browse-button", |
| 1456 | upload_url : "<?php echo esc_attr( $flash_action_url ); ?>", |
| 1457 | flash_url : "<?php echo includes_url('js/swfupload/swfupload.swf'); ?>", |
| 1458 | file_post_name: "async-upload", |
| 1459 | file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>", |
| 1460 | post_params : { |
| 1461 | "post_id" : "<?php echo $post_id; ?>", |
| 1462 | "auth_cookie" : "<?php echo (is_ssl() ? $_COOKIE[SECURE_AUTH_COOKIE] : $_COOKIE[AUTH_COOKIE]); ?>", |
| 1463 | "logged_in_cookie": "<?php echo $_COOKIE[LOGGED_IN_COOKIE]; ?>", |
| 1464 | "_wpnonce" : "<?php echo wp_create_nonce('media-form'); ?>", |
| 1465 | "type" : "<?php echo $type; ?>", |
| 1466 | "tab" : "<?php echo $tab; ?>", |
| 1467 | "short" : "1" |
| 1468 | }, |