created plugin custer, and removed shortcodes change_id and user_infos from cipf plugin
This commit is contained in:
31
plugins/custer/custer.php
Normal file
31
plugins/custer/custer.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: custer_plugin
|
||||
Plugin URI:
|
||||
Description: customize user : output infos on page, on email, and change current user id momentarly
|
||||
Author: hugogogo
|
||||
Version: 0.1.0
|
||||
Author URI:
|
||||
*/
|
||||
|
||||
/*
|
||||
* it means someone outside wp is accessing the file, in this case kill it.
|
||||
*/
|
||||
if (!defined('ABSPATH')) {
|
||||
die('You can not access this file!');
|
||||
}
|
||||
|
||||
|
||||
|
||||
include_once(plugin_dir_path(__FILE__) . '/custer_class.php');
|
||||
include_once(plugin_dir_path(__FILE__) . '/author_id.php');
|
||||
include_once(plugin_dir_path(__FILE__) . '/change_id.php');
|
||||
include_once(plugin_dir_path(__FILE__) . '/format_user_infos.php');
|
||||
include_once(plugin_dir_path(__FILE__) . '/user_infos.php');
|
||||
include_once(plugin_dir_path(__FILE__) . '/filter_mail.php');
|
||||
|
||||
//add_shortcode('custer_change_id', 'CUSTER\shortcode_change_id');
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user