[Plugin: Posts 2 Posts] fields (1 post)

  1. iHuman
    Posted 3 years ago #

    I love your plugin - thanks for your efforts!

    Quick question...
    Would it be possible in the fields array to populate a field with a taxonomy to create a select list? For example using your movie/actor demo...

    Let's say we had a taxonomy type called 'roles': leading actor, cameo, etc.

    p2p_register_connection_type( array(
    	'from' => 'actor',
    	'to' => 'movie',
    	'fields' => array(
    		'role' => 'Role'
    		'role_type' => 'array(
                       taxonomy roles here in select list
    	'context' => 'advanced'
    ) );

    Would this be possible?

Topic Closed

This topic has been closed to new replies.

About this Topic