$max Per-run maxima. * @var array $missing Types the user can't generate => capability. * @var bool $too_many The batch list is full. * @var array|null $run Module::run_view(). * @var \SmartWP\AdminPowerups\Modules\TestData\Module $this Module. */ use SmartWP\AdminPowerups\Admin\Components; use SmartWP\AdminPowerups\Admin\Icons; use SmartWP\AdminPowerups\Modules\TestData\Data\Limits; use SmartWP\AdminPowerups\Modules\TestData\Environment; use SmartWP\AdminPowerups\Modules\TestData\Module; defined( 'ABSPATH' ) || exit; $apwc_types = array( 'products' => __( 'Products', 'admin-powerups-for-woocommerce' ), 'customers' => __( 'Customers', 'admin-powerups-for-woocommerce' ), 'orders' => __( 'Orders', 'admin-powerups-for-woocommerce' ), 'coupons' => __( 'Coupons', 'admin-powerups-for-woocommerce' ), 'reviews' => __( 'Reviews', 'admin-powerups-for-woocommerce' ), ); $apwc_help = array( 'products' => __( 'Simple and variable, with prices, stock and categories. No images.', 'admin-powerups-for-woocommerce' ), 'customers' => __( 'Accounts with the customer role, emails on a test domain and made-up phone numbers.', 'admin-powerups-for-woocommerce' ), 'orders' => __( 'Mixed statuses, guest and account orders, some refunds and coupons, spread over the dates below.', 'admin-powerups-for-woocommerce' ), 'coupons' => __( 'Only usable with test-domain emails, so real customers can’t use them.', 'admin-powerups-for-woocommerce' ), 'reviews' => __( 'Ratings and short texts on test products, mostly from test buyers.', 'admin-powerups-for-woocommerce' ), ); $apwc_blocked = $too_many || ( $production && ! $advanced ); $apwc_consequence = __( 'Makes the test data below on this production site. No emails, webhooks or stock changes, but other plugins may still react to new orders and accounts.', 'admin-powerups-for-woocommerce' ); ?>

' . esc_html( Environment::label( $env ) ) . '' ), array( 'strong' => array() ) ); ?>

$apwc_label ) : ?>
/>