static function update_activation_hook()
 {
     MainWP_WP_Stream_Admin::register_update_hook(dirname(plugin_basename(__FILE__)), array(__CLASS__, 'install'), self::VERSION);
 }
示例#2
0
 public static function register_list_table()
 {
     require_once MAINWP_WP_STREAM_INC_DIR . 'list-table.php';
     self::$list_table = new MainWP_WP_Stream_List_Table(array('screen' => self::$screen_id['main']));
 }