# sellkit/1.1.4/includes/contact-segmentation/conditions/user-device.php

SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster, version 1.1.4. 67 lines.

- Page: https://pluginprobe.com/plugins/sellkit/1.1.4/code/includes/contact-segmentation/conditions/user-device.php
- Raw: https://pluginprobe.com/plugins/sellkit/1.1.4/raw/includes/contact-segmentation/conditions/user-device.php
- Modified: 2022-04-14T05:16:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sellkit/1.1.4/code/includes/contact-segmentation/conditions/user-device.php#L10-L20`.

```php
<?php

namespace Sellkit\Contact_Segmentation\Conditions;

use Sellkit\Contact_Segmentation\Conditions\Condition_Base;

defined( 'ABSPATH' ) || die();

/**
 * Class User_Device_Condition
 *
 * @package Sellkit\Contact_Segmentation\Conditions
 * @since 1.1.0
 */
class User_Device extends Condition_Base {

	/**
	 * Condition name.
	 *
	 * @since 1.1.0
	 */
	public function get_name() {
		return 'user-device';
	}

	/**
	 * Condition title.
	 *
	 * @since 1.1.0
	 */
	public function get_title() {
		return __( 'User Device', 'sellkit' );
	}

	/**
	 * Condition type.
	 *
	 * @since 1.1.0
	 */
	public function get_type() {
		return self::SELLKIT_MULTISELECT_CONDITION_VALUE;
	}

	/**
	 * Get the options
	 *
	 * @since 1.1.0
	 * @return string[]
	 */
	public function get_options() {
		return [
			'desktop' => __( 'Desktop', 'sellkit' ),
			'tablet'  => __( 'Tablet', 'sellkit' ),
			'mobile'  => __( 'Mobile', 'sellkit' ),
		];
	}

	/**
	 * It is pro feature or not.
	 *
	 * @since 1.1.0
	 */
	public function is_pro() {
		return false;
	}
}

```
