Last active
December 29, 2015 14:49
-
-
Save ntwb/7686980 to your computer and use it in GitHub Desktop.
bbPress - Custom Forum Subscription Link
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: bbPress - Custom Forum Subscription Link | |
Plugin URI: https://gist.github.com/ntwb/7686980 | |
Description: bbPress - Custom Forum Subscription Link | |
Version: 0.1 | |
Author: Stephen Edgar - Netweb | |
Author URI: http://netweb.com.au | |
*/ | |
function ntwb_forum_subscription_link( $args ) { | |
$args['before'] = ' ('; | |
$args['after'] = ')'; | |
return $args; | |
} | |
add_filter( 'bbp_before_get_forum_subscribe_link_parse_args', 'ntwb_forum_subscription_link' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment