bbp_walker_dropdown_post_title

  • apply_filters( 'bbp_walker_dropdown_post_title', $post->post_title, $output, $post, $depth, $args )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-classes.php :: Trac Source Line: 373
      		// Disable the <option> if we're told to do so, the post type is bbp_forum and the forum is a category or is closed
      		if ( true == $args['disable_categories'] && $post->post_type == bbp_get_forum_post_type() && ( bbp_is_forum_category( $post->ID ) || ( !current_user_can( 'edit_forum', $post->ID ) && bbp_is_forum_closed( $post->ID ) ) ) )
      			$output .= ' disabled="disabled" value=""';
      		else
      			$output .= ' value="' .$post->ID .'"' . selected( $args['selected'], $post->ID, false );
      
      		$output .= '>';
      

Comments are closed.