19 $this->label = esc_html__(
'Pipe Recorder',
'gk-gravityview' );
20 parent::__construct();
25 unset( $field_options[
'search_filter'] );
27 if (
'edit' === $context ) {
28 return $field_options;
31 $add_options[
'embed'] = array(
33 'label' => __(
'Display as embedded',
'gk-gravityview' ),
34 'desc' => __(
'Display the video in a player, rather than a direct link to the video.',
'gk-gravityview' ),
36 'merge_tags' =>
false,
39 return $add_options + $field_options;
Modify field settings by extending this class.
new GravityView_Field_Pipe_Recorder
if(empty( $created_by)) $form_id
field_options( $field_options, $template_id, $field_id, $context, $input_type, $form_id)
if(false !==strpos( $value, '00:00')) $field_id
string $field_id ID of the field being displayed