um_profile_tabs

Hook type

Filter

Description

Extend user profile tabs

Parameters

$tabs

(array) Profile tabs

Usage

<?php add_filter( 'um_profile_tabs', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_profile_tabs', 'my_profile_tabs', 10, 1 );
function my_profile_tabs( $tabs ) {
    // your code here
return $tabs;
}
?>

Change Log

Since: 2.0

Source

um_profile_tabs is located in includes/core/class-profile.php::line 69