for example:
add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend') ;
function geodir_detail_page_tab_list_extend3($tab_array)
{
$tab_array3['custom_tab'] = array(
'heading_text' => __('<b>CUSTOM TAB</b>',GEODIRECTORY_TEXTDOMAIN),
'is_active_tab' => false,
'is_display' => apply_filters('geodir_detail_page_tab_is_display', true, 'custom_tab'),
'tab_content' => ''
);
return $tab_array ;
}
add_action('geodir_after_tab_content' ,'geodir_my_new_tab_content');
function geodir_my_new_tab_content($tab_index)
{
global $post;
global $wp_query;
$postid = $wp_query->post->ID;
if($tab_index =='CUSTOM')
{
$CUSTOM_FIELD= geodir_get_post_meta($postid,'geodir_customfield',true);
echo "<b>custom field:</b> € ".$CUSTOM_FIELD;
}
}