Filter: um_loggedin_inner_content

apply_filters( 'um_loggedin_inner_content', $prepared_content, $content ) → {string}

Filters prepared inner content via Ultimate Member handlers in [um_loggedin] shortcode.

Parameters:
Name Type Description
$prepared_content string

Prepared inner content via Ultimate Member handlers.

$content string

Original inner content.

Since:
  • 2.8.7
Source:
Returns:

Prepared inner content.

Type
string
Example

Change inner content with own handlers.

function my_um_loggedin_inner_content( $prepared_content, $content ) {
    $prepared_content = esc_html( $content );
    return $prepared_content;
}
add_filter( 'um_loggedin_inner_content', 'my_um_loggedin_inner_content', 10, 2 );