Skip to content

Instantly share code, notes, and snippets.

View rohitwebguru's full-sized avatar
💭
Working hard for dreams

Rohit Sharma rohitwebguru

💭
Working hard for dreams
View GitHub Profile
@donaldallen
donaldallen / wp_list_table
Created September 17, 2013 16:40
WP_List_Table example.
<?php
if ( ! class_exists('WP_List_Table')) {
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
}
class Events_List_Table extends WP_List_Table
{
function __construct()
{
global $status, $page;