This works:
MB_Relationships_API::register( array(
'id' => 'recipes_to_products',
'from' => 'recipe',
'to' => 'product',
) );
This does not work:
MB_Relationships_API::register( array(
'id' => 'recipes_to_products',
'from' => [
'object_type' => 'recipe',
],
'to' => 'product',
) );
I was hoping to use the admin_column parameter for the relationship, but that requires the latter option, which doesn't appear to work.
Any suggestions? Thanks!