This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

BBP_Converter::converter_output( string $output = '' )

Wrap the converter output in paragraph tags, so styling can be applied

Description

Parameters

$output

(Optional)

Default value: ''

Source

File: bp-forums/admin/converter.php

284
285
286
287
288
289
290
291
292
293
294
295
private static function converter_output( $output = '' ) {
 
    // Get the last query
    $before = '<p class="loading">';
    $after  = '</p>';
    $query  = get_option( '_bbp_converter_query' );
 
    if ( ! empty( $query ) )
        $before = '<p class="loading" title="' . esc_attr( $query ) . '">';
 
    echo $before . $output . $after;
}

Changelog

Changelog
Version Description
bbPress (r4052) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.