WordPress.org

Forums

Custom List Table Example
Great example, one suggestion. (1 post)

  1. Zane Matthew
    Member
    Posted 1 year ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom List Table Example
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.