Created
April 13, 2015 16:59
-
-
Save adamcapriola/2debef867c4d2ce069aa 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
<?php | |
/* | |
Plugin Name: Discourse WordPress Integration | |
Description: This plugin contains all of the functions that deal with integrating WordPress and Discourse. | |
Author: Adam Capriola | |
Version: 1.0 | |
Author URI: https://meta.discourse.org/users/adamcapriola/activity | |
*/ | |
// Discourse info | |
define( 'DISCOURSE_URL', 'http://discourse.example.com' ); // No trailing slash! | |
define( 'DISCOURSE_API_KEY', 'abc123' ); // Your API key for all users created + found here: http://discourse.example.com/admin/api | |
define( 'DISCOURSE_API_USERNAME', 'system' ); // Username of an administrator (system is a safe bet). | |
define( 'DISCOURSE_SSO_SECRET', 'super_duper_secret' ); // Your "sso secret" value created + found here: http://discourse.example.com/admin/site_settings/category/login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment