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 |
---|---|
3492 | * |
3493 | * @since 2.7.0 |
3494 | * |
3495 | */ |
3496 | function iframe_footer() { |
3497 | //We're going to hide any footer output on iframe pages, but run the hooks anyway since they output Javascript or other needed content. ?> |
3498 | <div class="hidden"> |
3499 | <?php |
3500 | do_action('admin_footer', ''); |
3501 | do_action('admin_print_footer_scripts'); ?> |
3502 | </div> |
3503 | <script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script> |
3504 | </body> |
3505 | </html> |
3506 | <?php |
3507 | } |
3508 |
|
3509 | function _post_states($post) { |
3510 | $post_states = array(); |