Created
May 22, 2013 20:02
-
-
Save paulgibbs/5630455 to your computer and use it in GitHub Desktop.
How to load a custom extension for the Achievements for WordPress 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 | |
function pg_init_custom_extension() { | |
achievements()->extensions->your_extension = new Your_DPA_Extension_Class; | |
} | |
add_action( 'dpa_ready', 'pg_init_custom_extension' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment