11 var
$name =
'workflow_current_status_timestamp';
21 public $icon =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMS43IDExLjIiPjxwYXRoIGQ9Ik0xNC43IDUuOWwtNy00Yy0xLjItLjctMi41LS44LTMuNy0uMy0xLjcuNy0yLjYgMS45LTIuNyAzLjYtLjEgMS41LjQgMi43IDEuNCAzLjcgMS4xIDEuMSAyLjYgMS40IDQuMy45LjIgMCAuNS0uMiAxLjEtLjQuMi0uMS4zLS4xLjQtLjEuMyAwIC41LjEuNi40LjEuMyAwIC41LS4zLjctMS4yLjctMi40LjktMy44LjgtMS4zLS4yLTIuNS0uNy0zLjQtMS42Qy41IDguNS0uMSA3LjEgMCA1LjVjLjEtMi40IDEuMi00IDMuMy01QzQuNS0uMSA1LjgtLjIgNy4yLjJjLjIuMS42LjIgMS4yLjZsNyAzLjkuNC0uNi44IDIuMS0yLjIuMy4zLS42em0tNy44LS41bDcgNGMxLjIuNyAyLjUuOCAzLjcuMyAxLjctLjcgMi42LTEuOSAyLjgtMy42LjEtMS40LS40LTIuNi0xLjUtMy43cy0yLjUtMS40LTQuMy0xYy0uNC4xLS44LjMtMS4xLjRsLS40LjFjLS4zIDAtLjUtLjEtLjYtLjQtLjEtLjMgMC0uNS4zLS43IDEuMS0uNyAyLjQtLjkgMy44LS44IDEuNC4yIDIuNS43IDMuNCAxLjcgMS4yIDEuMiAxLjcgMi41IDEuNiA0LjEtLjEgMi4zLTEuMiA0LTMuMyA1LTEuNC42LTIuNy42LTMuOS4yLS4zLS4xLS43LS4zLTEuMS0uNWwtNy0zLjktLjQuNUw1LjEgNWwyLjItLjMtLjQuN3oiLz48L3N2Zz4=';
24 $this->label = esc_html__(
'Workflow Current Status Timestamp',
'gk-gravityview' );
26 parent::__construct();
30 add_filter(
'gravityview_field_entry_value_workflow_current_status_timestamp', array( $this,
'modify_entry_value_workflow_current_status_timestamp' ), 10, 4 );
46 $timestamp = gform_get_meta(
$entry[
'id'],
'workflow_current_status_timestamp' );
56 if ( $context ==
'edit' ) {
57 return $field_options;
62 return $field_options;
Modify field settings by extending this class.
$field_settings['content']
add_field_support( $key, &$field_options)
field_options( $field_options, $template_id, $field_id, $context, $input_type, $form_id)
new GravityView_Field_Workflow_Current_Status_Timestamp
static format_date( $date_string='', $args=array())
Allow formatting date and time based on GravityView standards.
if(empty( $created_by)) $form_id
if(false !==strpos( $value, '00:00')) $field_id
string $field_id ID of the field being displayed
modify_entry_value_workflow_current_status_timestamp( $output, $entry, $field_settings, $field)
Convert a timestamp into a nice format.