Created
June 18, 2015 15:46
-
-
Save Shelob9/efbd767cc6e566b669be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "calderawp/twitter-thing", | |
"description": "POC for a twitter plugin", | |
"type" : "wordpress-plugin", | |
"require": { | |
"abraham/twitteroauth": "dev-master", | |
"calderawp/tweet_core": "dev-master" | |
}, | |
"license": "gpl", | |
"authors": [ | |
{ | |
"name": "Josh Pollock", | |
"email": "Josh@CalderaWP.com" | |
} | |
], | |
"minimum-stability": "dev", | |
"autoload": { | |
"psr-4": {"calderawp\\twitter_thing\\": "src/"} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Twitter Thing | |
*/ | |
add_action( 'init', function(){ | |
include_once( dirname( __FILE__ ) . '/vendor/autoload.php' ); | |
new calderawp\twitter_core\core(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment