PluginProbe
Flamingo / 1.4
Flamingo v1.4
2.6.4 2.6.3 2.6.2 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.1.1 2.2 All 33 releases
flamingo / flamingo.php

flamingo.php in Flamingo 1.4, at flamingo.php

57 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Flamingo
4 Description: Flamingo manages your contact list on WordPress.
5 Author: Takayuki Miyoshi
6 Text Domain: flamingo
7 Domain Path: /languages/
8 Version: 1.4
9 */
10
11 define( 'FLAMINGO_VERSION', '1.4' );
12
13 define( 'FLAMINGO_PLUGIN', __FILE__ );
14
15 define( 'FLAMINGO_PLUGIN_BASENAME',
16 plugin_basename( FLAMINGO_PLUGIN ) );
17
18 define( 'FLAMINGO_PLUGIN_NAME',
19 trim( dirname( FLAMINGO_PLUGIN_BASENAME ), '/' ) );
20
21 define( 'FLAMINGO_PLUGIN_DIR',
22 untrailingslashit( dirname( FLAMINGO_PLUGIN ) ) );
23
24 // Deprecated, not used in the plugin core. Use flamingo_plugin_url() instead.
25 define( 'FLAMINGO_PLUGIN_URL',
26 untrailingslashit( plugins_url( '', FLAMINGO_PLUGIN ) ) );
27
28 require_once FLAMINGO_PLUGIN_DIR . '/includes/functions.php';
29 require_once FLAMINGO_PLUGIN_DIR . '/includes/formatting.php';
30 require_once FLAMINGO_PLUGIN_DIR . '/includes/capabilities.php';
31 require_once FLAMINGO_PLUGIN_DIR . '/includes/class-contact.php';
32 require_once FLAMINGO_PLUGIN_DIR . '/includes/class-inbound-message.php';
33 require_once FLAMINGO_PLUGIN_DIR . '/includes/class-outbound-message.php';
34 require_once FLAMINGO_PLUGIN_DIR . '/includes/user.php';
35 require_once FLAMINGO_PLUGIN_DIR . '/includes/comment.php';
36 require_once FLAMINGO_PLUGIN_DIR . '/includes/akismet.php';
37
38 if ( is_admin() )
39 require_once FLAMINGO_PLUGIN_DIR . '/admin/admin.php';
40
41 /* Init */
42
43 add_action( 'init', 'flamingo_init' );
44
45 function flamingo_init() {
46
47 /* L10N */
48 load_plugin_textdomain( 'flamingo', false, 'flamingo/languages' );
49
50 /* Custom Post Types */
51 Flamingo_Contact::register_post_type();
52 Flamingo_Inbound_Message::register_post_type();
53 Flamingo_Outbound_Message::register_post_type();
54
55 do_action( 'flamingo_init' );
56 }
57