iframe_footer

Generic Iframe footer for use with Thickbox.

Description

iframe_footer(); 

Usage

  1. if ( !function_exists( 'iframe_footer' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = iframe_footer(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/template.php  
  1. function iframe_footer() { 
  2. /** 
  3. * We're going to hide any footer output on iFrame pages,  
  4. * but run the hooks anyway since they output JavaScript 
  5. * or other needed content. 
  6. */ 
  7.  
  8. /** 
  9. * @global string $hook_suffix 
  10. */ 
  11. global $hook_suffix; 
  12. ?> 
  13. <div class="hidden"> 
  14. <?php 
  15. /** This action is documented in wp-admin/admin-footer.php */ 
  16. do_action( 'admin_footer', $hook_suffix ); 
  17.  
  18. /** This action is documented in wp-admin/admin-footer.php */ 
  19. do_action( "admin_print_footer_scripts-$hook_suffix" ); 
  20.  
  21. /** This action is documented in wp-admin/admin-footer.php */ 
  22. ?> 
  23. </div> 
  24. <script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script> 
  25. </body> 
  26. </html> 
  27. <?php