um_account_content_hook_{$id}

Hook type

Filter

Description

Change not default Account tabs content

Parameters

$output

(string) Account Tab Output

$shortcode_args

(array) Account Shortcode Arguments

Usage

add_filter( 'um_account_content_hook_{$id}', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_account_content_hook_{$id}', 'my_account_content', 10, 2 );
function my_account_tab_password_fields( $args, $shortcode_args ) {
    // your code here
return $args;
}
?>

Change Log

Since: 2.0

Source

um_account_content_hook_{$id} is located in includes/core/class-account.php::line 653