We are hiring

ualp_user_primary_array

Description

This filter hook allows you to change the primary data of user. The default user primary data are email, url, display_name.

If you want to remove any from default or add new field, this hook will allow you to change the fields.

 

Usage

add_filter( 'ualp_user_primary_array', 'my_primary_array' );
 
function my_primary_array( $get_dafault_user_key_array ) {
 
    // remove user_url from log
    if (($key = array_search('user_url', $get_dafault_user_key_array)) !== false) {
        unset($get_dafault_user_key_array[$key]);
    }
 
    //return array
    return $get_dafault_user_key_array;
}

Get Connected

Due to high download request and stop spamming we request you to please register and enjoy all free themes, plugins and extensions with out hassels.

CLICK HERE

to register or login and start downloading free products.
you will be redirected to registration page soon....