bbp_walker_dropdown_post_title

bbp_walker_dropdown_post_title

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_walker_dropdown_post_title') is found 2 times:

  • /includes/common/classes.php line 237
    			$output .= ' value="' . (int) $object->ID .'"' . selected( $args['selected'], $object->ID, false );
    		}
    
    		$output .= '>';
    		$title   = apply_filters( 'bbp_walker_dropdown_post_title', $object->post_title, $output, $object, $depth, $args );
    		$output .= $pad . esc_html( $title );
    		$output .= "</option>\n";
    	}
    }
    
    /**
    
  • /includes/common/classes.php line 494
     
    		// Determine reply title (either post_title, or excerpt of post_content)
    		$title = ! empty( $object->post_title ) ? $object->post_title : wp_html_excerpt( $object->post_content, 10 );
    		$title   = sprintf( esc_html__( '%1$s - %2$s', 'bbpress' ), (int) $object->ID, $title );
    		$title   = apply_filters( 'bbp_walker_dropdown_post_title', $title, $output, $object, $depth, $args );
    
    		// Attributes
    		$class = 'level-' . (int) $depth;
    		$value = (int) $object->ID;
    
    		// Start an output buffer to make late escaping easier