Setup some select2 field stuffs

This commit is contained in:
Jay Wood
2016-09-30 13:14:39 -04:00
parent 2554010c51
commit b664c711fe
2 changed files with 95 additions and 3 deletions

View File

@ -447,7 +447,7 @@ class CWV2_Admin {
'id' => 'cat_list',
'name' => __( 'Category restrictions', 'content-warning-v2' ),
'desc' => __( 'Select categories that you would like to restrict with the dialog.', 'content-warning-v2' ),
'type' => 'select',
'type' => 'select2',
'options' => $this->get_cat_list()
),
),