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 |
|---|---|
| 1442 | <a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link" style="display: none;" target="_blank"><?php _e( 'Standard Editor' ); ?></a> |
| 1443 | <button type="button" class="button-subtle preview-button"><?php _e( 'Preview' ); ?></button> |
| 1444 | <button type="button" class="button-primary publish-button"><?php echo ( current_user_can( 'publish_posts' ) ) ? __( 'Publish' ) : __( 'Submit for Review' ); ?></button> |
| 1445 | </div> |
| 1446 | </div> |
| 1447 | </form> |
| 1448 | |
| 1449 | <?php |
| 1450 | /** This action is documented in wp-admin/admin-footer.php */ |
| 1451 | do_action( 'admin_footer' ); |
| 1452 | |
| 1453 | /** This action is documented in wp-admin/admin-footer.php */ |
| 1454 | do_action( 'admin_print_footer_scripts' ); |
| 1455 | |
| 1456 | /** This action is documented in wp-admin/admin-footer.php */ |
| 1457 | do_action( 'admin_footer-press-this.php' ); |
| 1458 | ?> |
| 1459 | </body> |
| 1460 | </html> |