|
@@ -22,13 +22,13 @@ |
|
|
block discarded – undo |
|
22
|
22
|
|
|
23
|
23
|
function field_options( $field_options, $template_id, $field_id, $context, $input_type ) { |
|
24
|
24
|
|
|
25
|
|
- unset( $field_options['search_filter'] ); |
|
|
25
|
+ unset( $field_options[ 'search_filter' ] ); |
|
26
|
26
|
|
|
27
|
27
|
if ( 'edit' === $context ) { |
|
28
|
28
|
return $field_options; |
|
29
|
29
|
} |
|
30
|
30
|
|
|
31
|
|
- $add_options['embed'] = array( |
|
|
31
|
+ $add_options[ 'embed' ] = array( |
|
32
|
32
|
'type' => 'checkbox', |
|
33
|
33
|
'label' => __( 'Display as embedded', 'gravityview' ), |
|
34
|
34
|
'desc' => __( 'Display the video in a player, rather than a direct link to the video.', 'gravityview' ), |
Please login to merge, or discard this patch.