forked from ubc/profile-cct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile-custom-content-type.php
38 lines (33 loc) · 1.67 KB
/
profile-custom-content-type.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
<?php
/**
* Plugin Name: Profile Custom Content Type
* Plugin URI: https://github.com/ubc/profile-cct
* Version: 1.4.1
* Description: Allows administrators to manage user profiles better in order to display them on their websites
* Author: Enej Bajgoric, Devindra Payment, Eric Jackish, Aleksandar Arsovski, CTLT, UBC
* Author URI: http://ctlt.ubc.ca
* Text Domain: profile_cct
* Domain Path: /languages
* Licence: GPLv2
*/
if ( ! defined( 'ABSPATH' ) )
die( '-1' );
define( 'PROFILE_CCT_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'PROFILE_CCT_BASENAME', plugin_basename( __FILE__ ) );
define( 'PROFILE_CCT_DIR_URL', plugins_url( '', PROFILE_CCT_BASENAME ) );
define( 'PROFILE_CCT_BASE_FILE', __FILE__ );
define( 'PROFILE_CCT_VERSION', '1.4.1' );
define( 'PROFILE_CCT_SETTINGS', 'Profile_CCT_settings' );
define( 'PROFILE_CCT_SETTING_VERSION', 'Profile_CCT_version' );
define( 'PROFILE_CCT_SETTING_TAXONOMY', 'Profile_CCT_taxonomy' );
define( 'PROFILE_CCT_SETTING_GLOBAL', 'Profile_CCT_global_settings' );
define( 'PROFILE_CCT_TAXONOMY_PREFIX', 'profile_cct_' );
define( 'PROFILE_CCT_TAXONOMY_META', 'profile_cct_taxonomy' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-admin.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-field.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-taxonomies.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-shortcodes.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-manage-table.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-widget.php' );
require( PROFILE_CCT_DIR_PATH.'lib/class.profile-cct-autocomplete.php' );