35 lines
928 B
PHP
35 lines
928 B
PHP
<?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.3
|
|
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__) . '/get_user_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');
|
|
|
|
include_once(plugin_dir_path(__FILE__) . '/admin_menu.php');
|
|
include_once(plugin_dir_path(__FILE__) . '/admin_menu_toggle.php');
|
|
|
|
//add_shortcode('custer_change_id', 'CUSTER\shortcode_change_id');
|
|
|
|
|
|
|
|
?>
|