'awpcp-form-fields-table' ) ); $this->page = $page; $this->request = $request; } public function prepare( $items, $total_items ) { $this->items = $items; $this->set_pagination_args( array( 'total_items' => $total_items, 'per_page' => $total_items, ) ); $this->_column_headers = array( $this->get_columns(), array(), $this->get_sortable_columns() ); } public function get_columns() { $columns = array( 'cb' => '', 'name' => _x( 'Name', 'form field name', 'another-wordpress-classifieds-plugin' ), 'slug' => _x( 'Slug', 'form field slug', 'another-wordpress-classifieds-plugin' ), ); return $columns; } public function column_cb($item) { return ''; } public function column_name( $item ) { $handle = '