You appear to be a bot. Output may be restricted
Description
Fetch an instance of the BW_List_Table classImplements the bw version of _get_list_table using BW_List_Table as the base class
Usage
$object = bw_get_list_table( $class, $args );
Parameters
- $class
- ( string ) required – the class name e.g. XY_Something_List_Table
- $args
- ( array ) optional – which may also contain 'plugin' slug and 'path' to the class file.
Returns
object an instance of the list classSource
File name: oik/includes/oik-list-table.phpLines:
1 to 12 of 12
function bw_get_list_table( $class, $args=array() ) { if ( !class_exists( "BW_List_Table" ) ) { oik_require( "admin/class-bw-list-table.php" ); } $loaded = bw_list_table_loader( $class, $args ); if ( $loaded && class_exists( $class ) ) { $args = _bw_get_list_table_args_screen( $args ); $instance = new $class( $args ); } return( $instance ); }View on GitHub View on Trac