Created
August 16, 2012 22:45
-
-
Save pippinsplugins/3374298 to your computer and use it in GitHub Desktop.
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
| /** | |
| * Install | |
| * | |
| * Runs on plugin install. | |
| * | |
| * @access private | |
| * @since 1.0 | |
| * @return void | |
| */ | |
| function sc_install() { | |
| // setup the download custom post type | |
| sc_setup_post_types(); | |
| // clear permalinks | |
| flush_rewrite_rules(); | |
| } | |
| register_activation_hook(SC_PLUGIN_FILE, 'sc_install'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment