Show User-ID in the Inbox


Home Forums Front End PM PRO Show User-ID in the Inbox

This topic is: Resolved

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44185
    hauke.winkler
    Participant

    Hi everybody!

    Is it possible to show the WordPress-User-ID right next to the name in the inbox?
    Like that:

    Name (ID)

    Kind regards
    Hauke

    #44197
    Shamim Hasan
    Keymaster

    add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'fep_filter_user_name', function( $name, $id ){
    	if ( $name ) {
    		$name .= " ($id)";
    	}
    	return $name;
    }, 10, 2);
    
    #44460
    hauke.winkler
    Participant

    Great, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.