Reply To: Add Meta Data fields to the Directory


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

#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
});