Skip to content

brandondove/CMB2-User-Select

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CMB2-User-Select

Special CMB2 Field that allows users to define an autocomplete text field for users

Example

$cmb2->add_field( array(
	'name'  => 'Author',,
	'id'    => 'author',
	'desc'  => 'Type the name of the author and select from the options',
	'type'  => 'user_select_text'
	'options' => array(
		'minimum_user_level' => 0, // Enable search for all user levels.. use with caution.
	),
) );

About

Select a user to associate with your object

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%