Home › Forums › Front End PM PRO › Add Meta Data fields to the Directory › Reply To: Add Meta Data fields to the Directory
April 19, 2018 at 3:29 pm
#13499
Shamim Hasan
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
});