Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (20 sloc) 0.648 kb
d59ce6f Christopher Davis first commit. works.
authored
1 <?php
f985bae Kaiser moved to OOP, improved API, added example plugin
franz-josef-kaiser authored
2 ! defined( 'ABSPATH' ) AND exit();
d59ce6f Christopher Davis first commit. works.
authored
3 /*
f985bae Kaiser moved to OOP, improved API, added example plugin
franz-josef-kaiser authored
4 Plugin Name: Additional Plugin Directories
5 Plugin URI: http://github.com/chrisguitarguy
6 Description: A framework to allow adding additional plugin directories to WordPress
44aa630 Kaiser remove active link for already active plugins
franz-josef-kaiser authored
7 Version: 0.6
f985bae Kaiser moved to OOP, improved API, added example plugin
franz-josef-kaiser authored
8 Author: Christopher Davis
44aa630 Kaiser remove active link for already active plugins
franz-josef-kaiser authored
9 Contributors: Franz Josef Kaiser, Julien Chaumond
f985bae Kaiser moved to OOP, improved API, added example plugin
franz-josef-kaiser authored
10 Author URI: http://christopherdavis.me
11 License: GPL2
d59ce6f Christopher Davis first commit. works.
authored
12 */
b819902 Kaiser clean up: from spaces to tabs
franz-josef-kaiser authored
13
d59ce6f Christopher Davis first commit. works.
authored
14
15 define( 'CD_APD_PATH', plugin_dir_path( __FILE__ ) );
16 define( 'CD_APD_URL', plugin_dir_url( __FILE__ ) );
17
f985bae Kaiser moved to OOP, improved API, added example plugin
franz-josef-kaiser authored
18 require_once( CD_APD_PATH.'inc/api.php' );
333e631 Kaiser minor readability clean ups
franz-josef-kaiser authored
19 require_once( CD_APD_PATH.'inc/core.php' );
d59ce6f Christopher Davis first commit. works.
authored
20
f985bae Kaiser moved to OOP, improved API, added example plugin
franz-josef-kaiser authored
21 if ( is_admin() )
d59ce6f Christopher Davis first commit. works.
authored
22 {
333e631 Kaiser minor readability clean ups
franz-josef-kaiser authored
23 require_once( CD_APD_PATH.'inc/admin.php' );
d59ce6f Christopher Davis first commit. works.
authored
24 }
Something went wrong with that request. Please try again.