WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have started to use posts-to-posts plugin by scribu, and now I need to change vaues for connection fields. Particularly, I've created 'person' and 'piece', connection 'role' in between and defined possible values for role as 'composer', 'conductor' -- but now I think that I need rather 'author', not 'composer'.

Please, how to do that? I could experiment with phpmyadmin, but I wouldn't like to loose anything in progress.


share|improve this question
up vote 1 down vote accepted

So, in my case this way hepled: 1) I've replaced 'composer' with 'author' in functions.php (in that part where connections are being registered) and 2) "edited" data in ${wpdb}_p2pmeta using phpmyadmin (UPDATE <yourprefix>_p2pmeta SET meta_value = "author" WHERE meta_value = "composer" or manually or like that).

Please, backup your data, please test in any way etc.

share|improve this answer
so, if no any other answers, i'll accept my own?.. – brownian Nov 4 '11 at 9:21

I'm afraid you will have to use phpmyadmin at this time. Be sure to make a backup beforehand.

share|improve this answer
Well, I've replaced 'composer' with 'author' in functions.php and "edited" ${wpdb}_p2pmeta. Everything is ok so far. Thanks! – brownian Oct 30 '11 at 12:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.