iframe_footer

The timeline below displays how wordpress function iframe_footer has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Generic Iframe footer for use with Thickbox.
 *
 * @since 2.7.0
 */
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 type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script>
</body>
</html>
	<?php 
}

WordPress Version: 5.8

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 */
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 type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script>
</body>
</html>
	<?php 
}

WordPress Version: 5.3

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 */
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 type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
	<?php 
}

WordPress Version: 5.1

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 */
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}");
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_print_footer_scripts');
    ?>
	</div>
<script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
	<?php 
}

WordPress Version: 4.6

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 */
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}");
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_print_footer_scripts');
    ?>
	</div>
<script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
<?php 
}

WordPress Version: 4.2

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 */
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.
     */
    ?>
	<div class="hidden">
<?php 
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_footer', '');
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_print_footer_scripts');
    ?>
	</div>
<script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
<?php 
}

WordPress Version: 4.1

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 *
 */
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.
     */
    ?>
	<div class="hidden">
<?php 
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_footer', '');
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_print_footer_scripts');
    ?>
	</div>
<script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
<?php 
}

WordPress Version: 3.9

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 *
 */
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.
     */
    ?>
	<div class="hidden">
<?php 
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_footer', '');
    /** This action is documented in wp-admin/admin-footer.php */
    do_action('admin_print_footer_scripts');
    ?>
	</div>
<script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
<?php 
}

WordPress Version: 3.7

/**
 * Generic Iframe footer for use with Thickbox
 *
 * @since 2.7.0
 *
 */
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. 
    ?>
	<div class="hidden">
<?php 
    do_action('admin_footer', '');
    do_action('admin_print_footer_scripts');
    ?>
	</div>
<script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
</body>
</html>
<?php 
}