get_id() ) ); ?>

get_status() === NotificationStatus::PENDING ) { $notification_status = 'cancelled'; $label = _x( 'Pending', 'stock notification status', 'woocommerce' ); } elseif ( $notification->get_status() === NotificationStatus::CANCELLED ) { $notification_status = 'cancelled'; $label = _x( 'Cancelled', 'stock notification status', 'woocommerce' ); } elseif ( $notification->get_status() === NotificationStatus::SENT ) { $notification_status = 'cancelled'; $label = _x( 'Sent', 'stock notification status', 'woocommerce' ); } else { $notification_status = 'completed'; $label = _x( 'Active', 'stock notification status', 'woocommerce' ); } printf( '%s', esc_attr( sanitize_html_class( 'status-' . $notification_status ) ), esc_html( $label ) ); ?>
get_user_id(); $user = $user_id ? get_user_by( 'id', $user_id ) : null; if ( is_a( $user, 'WP_User' ) ) { $user_string = $user->display_name; } elseif ( filter_var( $notification->get_user_email(), FILTER_VALIDATE_EMAIL ) ) { $user_string = $notification->get_user_email(); } ?>

get_product(); if ( is_a( $product, 'WC_Product' ) ) { include __DIR__ . '/html-product-data-admin.php'; } else { ?>
get_product_formatted_variation_list( true ); if ( ! empty( $attributes ) ) { ?>