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 |
---|---|
1494 | <li><button type="button" class="button-link preview-button split-button-option"><?php _e( 'Preview' ); ?></button></li> |
1495 | </ul> |
1496 | </div> |
1497 | </div> |
1498 | </div> |
1499 | </form> |
1500 |
|
1501 | <?php |
1502 | /** This action is documented in wp-admin/admin-footer.php */ |
1503 | do_action( 'admin_footer' ); |
1504 |
|
1505 | /** This action is documented in wp-admin/admin-footer.php */ |
1506 | do_action( 'admin_print_footer_scripts-press-this.php' ); |
1507 |
|
1508 | /** This action is documented in wp-admin/admin-footer.php */ |
1509 | do_action( 'admin_print_footer_scripts' ); |
1510 |
|
1511 | /** This action is documented in wp-admin/admin-footer.php */ |
1512 | do_action( 'admin_footer-press-this.php' ); |