bbp_form_topic_type_dropdown

Displays topic type select box (normal/sticky/super sticky).

Description

bbp_form_topic_type_dropdown( (string) $args = '' ); 

Parameters (1)

0. $args — Optional. (string) => ''
This function supports these arguments: - select_id: Select id. Defaults to bbp_stick_topic - tab: Tabindex - topic_id: Topic id - selected: Override the selected option

Usage

  1. if ( !function_exists( 'bbp_form_topic_type_dropdown' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/topics/template.php'; 
  3. $args = ''; 
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_form_topic_type_dropdown($args); 
  7.  

Defined (1)

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

/includes/topics/template.php  
  1. function bbp_form_topic_type_dropdown( $args = '' ) {