Function Reference: gd_list_p2p_connection
Summary
This function has not been documented yet.
Source File
gd_list_p2p_connection() is located in geodir_list_manager/geodir_list_manager.php [Line: 114]
Source Code
function gd_list_p2p_connection() {
$all_postypes = geodir_get_posttypes();
if (!$all_postypes) {
$all_postypes = array('gd_place');
}
foreach ($all_postypes as $pt) {
p2p_register_connection_type(
array(
'name' => $pt.'_to_gd_list',
'from' => $pt,
'to' => 'gd_list',
'admin_box' => array(
'show' => 'to',
'context' => 'side'
)
)
);
}
}