Here's my code linking two content types:
add_action( 'mb_relationships_init', function() {
MB_Relationships_API::register( [
'id' => 'projects_to_markets',
'from' => array(
'object_type' => 'post',
'post_type' => 'projects',
'admin_column' => true,
),
'to' => array(
'object_type' => 'post',
'post_type' => 'markets',
'admin_column' => true,
),
] );
} );
I have metabox core, the metabox relationships addon, admin columns pro and the metabox addon installed.
The connections are being made, and I can see them on both ends when editing a single project or market. However, when I've added the columns using admin columns pro, I'm only getting a "Connects from" or "Connects to" header, with no information shown there.
Anything obvious I'm doing wrong?