• Don’t bother Googling for how to use the WP_List_Table class, rather just use this plugin as an example instead!

    Just one suggestion, a function like the one below would reduce the redundancy of having to type out the columns keys.


    function get_column_keys(){
    $data = $this->get_columns();
    unset( $data['cb'] );
    foreach( $data as $k => $v ){
    $keys[] = $k;
    }
    return $keys;
    }

  • The topic ‘Great example, one suggestion.’ is closed to new replies.