Lines:
1 to 67 of 67
<?php if ( defined( 'OIK_BBPRESS_INCLUDED' ) ) return; define( 'OIK_BBPRESS_INCLUDED', true ); /* Plugin Name: oik bbpress Plugin URI: http://www.oik-plugins.com/oik-plugins/oik-bbpress-plugin/ Description: strip tags from bbPress forum title tooltips Version: 1.18 Author: bobbingwide Author URI: http://www.bobbingwide.com License: GPL2 Copyright 2011-2012 Bobbing Wide (email : herb@bobbingwide.com ) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. You may NOT assume that you can use any other version of the GPL. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The license for this software can likely be found here: http://www.gnu.org/licenses/gpl-2.0.html */ /** * bw_strip_tags() is equivalent to esc_attr( strip_tags() ) * but it also gets passed the current_filter - future use */ if ( !function_exists( "bw_strip_tags" ) ) { /* function bw_strip_tags() – bw_strip_tags() is equivalent to esc_attr( strip_tags() ) but it also gets passed the current_filter – future use */ } /** * bbPress does not cater for shortcode expansion in titles so we need to apply a filter when * the title is being used in a text= attribute */ add_filter( 'bbp_get_forum_title', 'bw_strip_tags' ); add_action( "oik_admin_menu", "oik_bbpress_admin_menu" ); /** * Relocate the plugin to become its own plugin and set the plugin server */ /* function oik_bbpress_admin_menu() – Relocate the plugin to become its own plugin and set the plugin server */
Called by
Invoked by
Calls
Call hooks
API Letters:
