Created
January 8, 2016 02:37
-
-
Save aaronschachter/a71c7ca6f2927a396853 to your computer and use it in GitHub Desktop.
LDT WP Plugin
This file contains hidden or 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 | |
/** | |
* @package LetsDoThis | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Let's Do This | |
Description: Custom plugin for the Let's Do This app. | |
Author: DoSomething.org | |
Version: 1.0 | |
*/ | |
function letsdothis_allow_origin() { | |
header("Access-Control-Allow-Origin: *"); | |
} | |
add_action( 'init', 'letsdothis_allow_origin' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment