bb_make_link_view_all

The BuddyPress bb make link view all function.

Description

bb_make_link_view_all( $link ); 

Parameters (1)

0. $link
The link.

Usage

  1. if ( !function_exists( 'bb_make_link_view_all' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-formatting.php'; 
  3.  
  4. // The link. 
  5. $link = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bb_make_link_view_all($link); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bbpress/bb-includes/functions.bb-formatting.php  
  1. function bb_make_link_view_all( $link ) { 
  2. return esc_html( add_query_arg( 'view', 'all', $link ) );