• $field, ) ); ?> type === 'date' || $field->date === true) : ?> value)) { if ($field->display_value == false) { echo __('No date', 'wp-ultimo'); } else { $date = $field->value; $time = strtotime(get_date_from_gmt($date)); $formatted_value = date_i18n(get_option('date_format'), $time); $placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'wp-ultimo') : __('In %s', 'wp-ultimo'); // phpcs:ignore printf('
    %2$s', $formatted_value, sprintf($placeholder, human_time_diff($time, wu_get_current_time('timestamp'))), get_date_from_gmt($date)); } // end if; } else { _e('None', 'wp-ultimo'); } // end if; ?> display_value; ?>
    edit) : ?>
    $field, ) ); ?> get_html_attributes(); ?>> $field, ) ); ?>
    copy) : ?>