um_before_account_{$tab_id}

Hook type

Action

Description

Make some action before show account tab

Parameters

$args

(array) Account Page Arguments

Usage

add_action( 'um_before_account_{$tab_id}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_before_account_{$tab_id}', 'my_before_account_tab', 10, 1 );
function my_before_account_tab( $args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_before_account_{$tab_id} is located in includes/core/class-account.php::line 701