'my-simple-gateway', 'title' => __( 'Simple Gateway', 'woocommerce-admin' ), 'content' => __( "This is a simple gateway that pulls its configuration fields from the gateway's class.", 'woocommerce-admin' ), 'image' => WC()->plugin_url() . '/assets/images/placeholder.png', 'plugins' => array( 'my-simple-gateway-wporg-slug' ), 'is_visible' => array( (object) array( 'type' => 'base_location_country', 'value' => 'US', 'operation' => '=', ), ), ); $specs[] = array( 'id' => 'my-slot-filled-gateway', 'title' => __( 'Slot Filled Gateway', 'woocommerce-admin' ), 'content' => __( 'This gateway makes use of registered SlotFill scripts to show its content.', 'woocommerce-admin' ), 'image' => WC()->plugin_url() . '/assets/images/placeholder.png', 'plugins' => array( 'my-slot-filled-gateway-wporg-slug' ), ); return $specs; } add_filter( 'woocommerce_admin_payment_gateway_suggestion_specs', 'payment_gateway_suggestions_add_suggestions' );