bp_core_exclude_pages

  • apply_filters( 'bp_core_exclude_pages', $pages )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-filters.php :: Trac Source Line: 26
      	if ( !empty( $bp->pages->activate ) )
      		$pages[] = $bp->pages->activate->id;
      
      	if ( !empty( $bp->pages->register ) )
      		$pages[] = $bp->pages->register->id;
      
      	if ( !empty( $bp->pages->forums ) && ( !bp_is_active( 'forums' ) || ( bp_is_active( 'forums' ) && bp_forums_has_directory() && !bp_forums_is_installed_correctly() ) ) )
      		$pages[] = $bp->pages->forums->id;
      
      	return apply_filters( 'bp_core_exclude_pages', $pages );
      }
      add_filter( 'wp_list_pages_excludes', 'bp_core_exclude_pages' );
      
      /**
       * bp_core_email_from_name_filter()
       *
       * Sets the "From" name in emails sent to the name of the site and not "WordPress"
       *
       * @package BuddyPress Core
       * @uses get_blog_option() fetches the value for a meta_key in the wp_X_options table
      

Comments are closed.