cannot hide admin box with 'show' => 'from'
-
hi,
great plugin, really enjoying using it. however I’ve found ‘show’ => ‘from’ does not work as expected. if I create the following connection the to admin box still shows up on all of the CPT’s. It’s not the end of the world it would just help save confusion to be able to remove the admin box….
p2p_register_connection_type( array( 'name' => 'stuff_to_stuff', 'from' => array('holidays' , 'courses' , 'accommodation', 'gear','companies','experiences'), 'to' => array('holidays' , 'courses' , 'accommodation' , 'gear' , 'companies' , 'experiences'), 'title' => array('to' => 'test', 'from' => 'products that are related'), 'admin_dropdown' => 'any', 'show' => 'from' ) );
cheers
rigagoogoo
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘cannot hide admin box with 'show' => 'from'’ is closed to new replies.