Customize uploader title and btn text

This commit is contained in:
Jay Wood
2016-09-30 12:07:19 -04:00
parent 53e6e82218
commit f6a8e942d7
2 changed files with 11 additions and 5 deletions

View File

@ -403,10 +403,14 @@ class CWV2_Admin {
'type' => 'editor',
),
array(
'id' => 'bg_image',
'name' => __( 'Background Image', 'content-warning-v2' ),
'desc' => __( 'If not empty, the dialog will use this instead of the background opacity and color.', 'content-warning-v2' ),
'type' => 'media',
'id' => 'bg_image',
'name' => __( 'Background Image', 'content-warning-v2' ),
'desc' => __( 'If not empty, the dialog will use this instead of the background opacity and color.', 'content-warning-v2' ),
'type' => 'media',
'options' => array(
'uploader-title' => __( 'Content Warning Background Image', 'content-warning-v2' ),
'uploader-btn' => __( 'Select Background Image', 'content-warning-v2' ),
),
),
array(
'id' => 'bg_opacity',