Last active
October 11, 2015 06:17
-
-
Save ntwb/3815686 to your computer and use it in GitHub Desktop.
bbPress - Show Lead Topic
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 - Show Lead Topic | |
Plugin URI: https://gist.github.com/ntwb/3815686 | |
Description: bbPress - Show Lead Topic | |
Version: 0.2 | |
Author: Stephen Edgar - Netweb | |
Author URI: http://netweb.com.au | |
*/ | |
add_filter('bbp_show_lead_topic', 'ntwb_bbpress_show_lead_topic' ); | |
function ntwb_bbpress_show_lead_topic( $show_lead ) { | |
$show_lead[] = 'true'; | |
return $show_lead; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment