Custom Fields
Re-Envisioned
Support General Get list of user roles

  • Creator
    Topic
  • #23394
    Resolved eelgr
    Participant

    Hi guys,

    I'm using metabox to get a list of users which is great

    array(
        'id'   => $prefix . 'user',
        'type' => 'user',
        'name' => esc_html__( 'Users', 'wtw' ),
        'desc' => esc_html__( 'Select users who can view this contact information.', 'wtw' ),
        'field_type'  => 'checkbox_list',
        'placeholder' => 'Select an author',
    )

    But is there a way to select user roles?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.