- This topic has 10 replies, 3 voices, and was last updated 1 year, 8 months ago by .
-
Topic
-
Using the below code, and column headers are created, but no data is showing in the columns.
Screenshot of column: https://cl.ly/7cbffe5d6bc1
Screenshot of relationship: https://cl.ly/ac94e6b15fa2
add_action( 'mb_relationships_init', function() { // attorneys to events MB_Relationships_API::register( array( 'id' => 'attorney_to_event', 'from' => array( 'post_type' => 'attorney', 'meta_box' => array( 'title' => 'Linked Events', ), ), 'to' => array( 'post_type' => 'event', 'admin_column' => array( 'position' => 'after title', 'title' => 'Speakers', ), 'meta_box' => array( 'title' => 'Linked Attorney', ), ), ) ); } );
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.