bp_forums_bbconfig_location

  • apply_filters( 'bp_forums_bbconfig_location', $_REQUEST['bbconfigloc'] )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-admin.php :: Trac Source Line: 210
      	}
      }
      
      function bp_forums_configure_existing_install() {
      	global $wpdb, $bbdb;
      
      	check_admin_referer( 'bp_forums_existing_install_init' );
      
      	// Sanitize $_REQUEST['bbconfigloc']
      	$_REQUEST['bbconfigloc'] = apply_filters( 'bp_forums_bbconfig_location', $_REQUEST['bbconfigloc'] );
      
      	if ( false === strpos( $_REQUEST['bbconfigloc'], 'bb-config.php' ) ) {
      		if ( '/' != substr( $_REQUEST['bbconfigloc'], -1, 1 ) )
      			$_REQUEST['bbconfigloc'] .= '/';
      
      		$_REQUEST['bbconfigloc'] .= 'bb-config.php';
      	}
      
      	bp_update_option( 'bb-config-location', $_REQUEST['bbconfigloc'] );
      

Hook: add_filter: bp_forums_bbconfig_location instances (2)

  • add_filter( 'bp_forums_bbconfig_location', 'wp_filter_kses', 1 )
    $tag: bp_forums_bbconfig_location
    $function_to_add: wp_filter_kses
    $priority: 1
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-filters.php :: Trac Source Line: 6
      <?php
      // Exit if accessed directly
      if ( !defined( 'ABSPATH' ) ) exit;
      
      /* Apply WordPress defined filters */
      add_filter( 'bp_forums_bbconfig_location', 'wp_filter_kses', 1 );
      add_filter( 'bp_forums_bbconfig_location', 'esc_attr', 1 );
      
      add_filter( 'bp_get_the_topic_title', 'wp_filter_kses', 1 );
      add_filter( 'bp_get_the_topic_latest_post_excerpt', 'bp_forums_filter_kses', 1 );
      add_filter( 'bp_get_the_topic_post_content', 'bp_forums_filter_kses', 1 );
      
      add_filter( 'bp_get_the_topic_title', 'force_balance_tags' );
      add_filter( 'bp_get_the_topic_latest_post_excerpt', 'force_balance_tags' );
      add_filter( 'bp_get_the_topic_post_content', 'force_balance_tags' );
      
      add_filter( 'bp_get_the_topic_title', 'wptexturize' );
      add_filter( 'bp_get_the_topic_poster_name', 'wptexturize' );
      add_filter( 'bp_get_the_topic_last_poster_name', 'wptexturize' );
      add_filter( 'bp_get_the_topic_post_content', 'wptexturize' );
      
  • add_filter( 'bp_forums_bbconfig_location', 'esc_attr', 1 )
    $tag: bp_forums_bbconfig_location
    $function_to_add: esc_attr
    $priority: 1
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-filters.php :: Trac Source Line: 7
      <?php
      // Exit if accessed directly
      if ( !defined( 'ABSPATH' ) ) exit;
      
      /* Apply WordPress defined filters */
      add_filter( 'bp_forums_bbconfig_location', 'wp_filter_kses', 1 );
      add_filter( 'bp_forums_bbconfig_location', 'esc_attr', 1 );
      
      add_filter( 'bp_get_the_topic_title', 'wp_filter_kses', 1 );
      add_filter( 'bp_get_the_topic_latest_post_excerpt', 'bp_forums_filter_kses', 1 );
      add_filter( 'bp_get_the_topic_post_content', 'bp_forums_filter_kses', 1 );
      
      add_filter( 'bp_get_the_topic_title', 'force_balance_tags' );
      add_filter( 'bp_get_the_topic_latest_post_excerpt', 'force_balance_tags' );
      add_filter( 'bp_get_the_topic_post_content', 'force_balance_tags' );
      
      add_filter( 'bp_get_the_topic_title', 'wptexturize' );
      add_filter( 'bp_get_the_topic_poster_name', 'wptexturize' );
      add_filter( 'bp_get_the_topic_last_poster_name', 'wptexturize' );
      add_filter( 'bp_get_the_topic_post_content', 'wptexturize' );
      

Comments are closed.