get_all_records_stats(); $records_count = ! empty( $records ) ? count( $records ) : 0; ?>
| action ); ?> | action_name ); ?> | user_id ); echo esc_html( $stats->get_username( $user_id ) ); ?> | email_to ); ?> | count_emails ) ) { echo esc_html( number_format( intval( $record->count_emails ) ) ); } else { esc_html_e( 'N/A', 'activity-track' ); } ?> |
updated_date );
$current_time = current_time( 'timestamp' );
$human_diff = human_time_diff( strtotime( $created_time ), $current_time );
$full_date = ATKAI_Helpers::getLocalFormat( $created_time, ' \a\t ' );
/* translators:
* 1: human-readable time difference (e.g. "3 minutes"),
* 2: full date (e.g. "January 1, 2025")
*/
$format_string = __( '%1$s ago %2$s', 'activity-track' ); echo wp_kses( sprintf( /* translators: 1: human diff, 2: full date */ $format_string, esc_html( $human_diff ), esc_html( $full_date ) ), array( 'strong' => array(), 'br' => array(), ) ); ?> |