bbp_get_reply_archive_slug

Return the reply archive slug.

Description

(string) bbp_get_reply_archive_slug( (string) $default = 'replies' ); 

Returns (string)

Parameters (1)

0. $default — Optional. (string) => 'replies'
The default.

Usage

  1. if ( !function_exists( 'bbp_get_reply_archive_slug' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/options.php'; 
  3.  
  4. // The default. 
  5. $default = 'replies'; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_get_reply_archive_slug($default); 
  9.  

Defined (1)

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

/includes/core/options.php  
  1. function bbp_get_reply_archive_slug( $default = 'replies' ) { 
  2. return apply_filters( 'bbp_get_reply_archive_slug', get_option( '_bbp_reply_archive_slug', $default ) );