-
Notifications
You must be signed in to change notification settings - Fork 2
/
flowboard.php
40 lines (33 loc) · 943 Bytes
/
flowboard.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/*
Plugin Name: FlowBoard
Plugin URI: http://plugins.flowcom.se/flowboard
Description: Web development tool, agile whiteboard with sticky notes. Your notes are posts in WP!
Version: 1.6.1
Author: Flowcom AB, Andreas Ek
Author URI: http://www.flowcom.se
License: GPLv2
*/
include 'includes/ajax.php';
include 'includes/note.php';
include 'includes/main.php';
include 'includes/shortcode.php';
include 'includes/board.php';
$flowboard_ajax = new FlowBoard_Ajax();
$flowboard_main = new FlowBoard_Main();
$flowboard_shortcode = new FlowBoard_Shortcode();
function flowboard_metakey() {
return '_flowboard_board';
}
function flowboard_metadata() {
return '_flowboard_meta';
}
function flowboard_activate() {
flush_rewrite_rules();
}
register_activation_hook( __FILE__, 'flowboard_activate' );
function flowboard_deactivate() {
flush_rewrite_rules();
}
register_deactivation_hook( __FILE__, 'flowboard_deactivate' );
?>