function my_connection_types() {
p2p_register_connection_type( array(
'reciprocal' => true,
'title' => 'property location',
'name' => 'property_to_city',
'from' => 'properties',
'to' => 'locations',
'admin_column' => 'any'
) );
}
add_action( 'p2p_init', 'my_connection_types' );
↧
aces on "[Plugin: Posts 2 Posts] Debug Notice?"
↧