Support » Plugin: Front-end Editor » [Plugin: Front-end Editor] Users in editable select dropdown

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author scribu

    (@scribu)

    Yes:

    ...
    
    $user_choices = array();
    
    foreach ( $fvusers as $user ) {
      $user_choices[ $user->ID ] = $user->display_name;
    }
    
    editable_post_meta( $mycustid, 'assigned_rep_code', array(
      'type' => 'select',
      'values' => $user_choices
    ) );

    Brilliant!

    Thank you very much Scribu

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Front-end Editor] Users in editable select dropdown’ is closed to new replies.