get_rendered_tab

Renders a bulk editor tab.

Description

get_rendered_tab( (WPSEO_Bulk_List_Table) $table, (string) $id ); 

Parameters (2)

0. $table (WPSEO_Bulk_List_Table)
The table to render.
1. $id (string)
The id for the tab.

Usage

  1. if ( !function_exists( 'get_rendered_tab' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/admin/views/tool-bulk-editor.php'; 
  3.  
  4. // The table to render. 
  5. $table = null; 
  6.  
  7. // The id for the tab. 
  8. $id = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = get_rendered_tab($table, $id); 
  12.  

Defined (1)

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

/admin/views/tool-bulk-editor.php  
  1. function get_rendered_tab( $table, $id ) { 
  2. ?> 
  3. <div id="<?php echo $id ?>" class="wpseotab"> 
  4. <?php 
  5. $table->show_page(); 
  6. ?> 
  7. </div> 
  8. <?php