$filter Current filters. * @var int $open Entry to open in the modal on load (0 = none). * @var \SmartWP\AdminPowerups\Modules\EmailLog\Module $this Module. */ use SmartWP\AdminPowerups\Admin\AdminPage; use SmartWP\AdminPowerups\Admin\Components; use SmartWP\AdminPowerups\Admin\Icons; use SmartWP\AdminPowerups\Modules\EmailLog\Module; use SmartWP\AdminPowerups\Modules\EmailLog\Store; use SmartWP\AdminPowerups\Support\Orders; use SmartWP\AdminPowerups\Support\WooEmails; defined( 'ABSPATH' ) || exit; $apwc_pages = max( 1, (int) ceil( $result['total'] / $filter['per_page'] ) ); $apwc_filtered = '' !== $filter['s'] || $filter['email'] || $filter['status'] || $filter['order']; $apwc_statuses = array( 'sent' => __( 'Sent', 'admin-powerups-for-woocommerce' ), 'failed' => __( 'Failed', 'admin-powerups-for-woocommerce' ), 'disabled' => __( 'Turned off', 'admin-powerups-for-woocommerce' ), 'skipped' => __( 'Not sent', 'admin-powerups-for-woocommerce' ), 'test' => __( 'Test', 'admin-powerups-for-woocommerce' ), ); ?>

created_gmt . ' UTC' ); $apwc_to = array_filter( array_map( 'trim', explode( ',', $apwc_row->recipients ) ) ); $apwc_status = $apwc_row->is_test ? 'test' : $apwc_row->status; ?>
email_id ) ); ?> subject ) : ?> subject ); ?> cc . ',' . $apwc_row->bcc ) ) ); if ( $apwc_more > 0 ) { /* translators: %s: number of other recipients. */ echo '' . esc_html( sprintf( _n( '+%s other', '+%s others', $apwc_more, 'admin-powerups-for-woocommerce' ), number_format_i18n( $apwc_more ) ) ) . ''; } ?> object_type && $apwc_row->object_id ) : ?> #object_id ); ?> email_id ) . ( $apwc_row->object_id ? ' #' . $apwc_row->object_id : '' ); ?>
Module::url( array_merge( $filter, array( 'paged' => $page ) ) ); ?>

1 ) : Components::pager( $filter['paged'], $apwc_pages, $apwc_link ); ?>