PluginProbe
Front End PM / 1.3
Front End PM v1.3
trunk 1.1 1.2 1.3 10.1.1 10.1.2 10.1.3 10.1.4 10.1.5 10.1.6 10.1.7 10.2.1 11.1.1 11.2.1 11.2.2 11.2.3 11.3.1 11.3.3 11.3.4 11.3.5 11.3.6 11.3.7 11.3.8 11.3.9 11.4.1 All 58 releases
front-end-pm / front-end-pm.php

front-end-pm.php in Front End PM 1.3, at front-end-pm.php

42 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Front End PM
4 Plugin URI: http://www.banglardokan.com/blog/recent/project/front-end-pm-2215/
5 Description: Front End PM is a Private Messaging system to your WordPress site.This is full functioning messaging system. The messaging is done entirely through the front-end of your site rather than the Dashboard. This is very helpful if you want to keep your users out of the Dashboard area.
6 Version: 1.3
7 Author: Shamim
8 Author URI: http://www.banglardokan.com/blog/recent/project/front-end-pm-2215/
9 Text Domain: fep
10 License: GPLv2
11 */
12
13 //INCLUDE THE CLASS FILE
14 include_once("fep-class.php");
15
16 //DECLARE AN INSTANCE OF THE CLASS
17 if(class_exists("clFEPm"))
18 $FrontEndPM = new clFEPm();
19
20 //HOOKS
21 if (isset($FrontEndPM))
22 {
23 //ACTIVATE PLUGIN
24 register_activation_hook(__FILE__ , array(&$FrontEndPM, "fepActivate"));
25
26 //ADD SHORTCODES
27 add_shortcode('front-end-pm', array(&$FrontEndPM, "displayAll"));
28
29 //ADD ACTIONS
30 add_action('init', array(&$FrontEndPM, "session"));
31 add_action('plugins_loaded', array(&$FrontEndPM, "translation"));
32 add_action('init', array(&$FrontEndPM, "jsInit"));
33 add_action('wp_enqueue_scripts', array(&$FrontEndPM, "fep_enqueue_scripts"));
34 add_action('admin_menu', array(&$FrontEndPM, "addAdminPage"));
35
36
37 //ADD WIDGET
38 wp_register_sidebar_widget("fep-button-widget",__("FEP button widget", "fep"), array(&$FrontEndPM, "widget"));
39 wp_register_sidebar_widget("fep-text-widget",__("FEP text widget", "fep"), array(&$FrontEndPM, "widget_text"));
40 }
41
42 ?>