Skip to content
Jakub edited this page Aug 6, 2017 · 3 revisions

Quick start

Create new class which extends shellpress\vX_X_X\src\Shared\AjaxListTable\AjaxListTable.

Your class needs to define method setUp(), because it's abstract. It will be called automaticly on each AJAX callback.

<?php

use shellpress\v1_0_5\src\Shared\AjaxListTable\AjaxListTable;

class ListTable_Lists extends AjaxListTable {

    protected function setUp() {
    
       // Here we define table properties and add our actions.

   }

}

?>

Clone this wiki locally