wp-admin/includes/template.php:2211Generic Iframe footer for use with Thickbox.
3 hooks fire while iframe_footer() runs, in this order:
Prints scripts or data before the default footer scripts.
Prints scripts and data queued for the footer.
Prints any scripts and data queued for the footer.
function iframe_footer() { /* * We're going to hide any footer output on iFrame pages, * but run the hooks anyway since they output JavaScript * or other needed content. */ /** * @global string $hook_suffix */ global $hook_suffix; ?> <div class="hidden"> <?php /** This action is documented in wp-admin/admin-footer.php */ do_action( 'admin_footer', $hook_suffix ); /** This action is documented in wp-admin/admin-footer.php */ do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores /** This action is documented in wp-admin/admin-footer.php */ do_action( 'admin_print_footer_scripts' ); ?> </div><script>if(typeof wpOnload==='function')wpOnload();</script></body></html> <?php}Introduced in 2.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/includes/template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.