Created
August 13, 2015 19:16
-
-
Save kstover/a824ab83ce728dc0c1c7 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 | |
function my_custom_nf_action( $types ) { | |
$types['my_action'] = PATH_TO_MY_ACTION_CLASS_FILE; | |
return $types; | |
} | |
add_filter( 'nf_notification_types', 'my_custom_nf_action' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment