Add Meta Data fields to the Directory


Home Forums Front End PM PRO Add Meta Data fields to the Directory

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13494
    Russ Catanach
    Participant

    I would like to add additional user data fields to each row of the directory. I am sure this possible but I can’t figure it out. How should I do this?

    #13499
    shamim
    Keymaster

    You can add following code in your theme’s (child theme’s if any) functions.php (Change as required)

    add_filter('fep_directory_table_columns', function( $columns ){
    	$columns['cus_data'] = 'cus_data';
    	return $columns;
    });
    
    add_action( 'fep_directory_table_column_content_cus_data', function( $user ){
    	echo "Your custom data"; //Change here what you want to show
    });
    
Viewing 2 posts - 1 through 2 (of 2 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.