# learnpress/4.1.7.2/inc/models/steps/class-lp-step.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.1.7.2. 49 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.2/code/inc/models/steps/class-lp-step.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.2/raw/inc/models/steps/class-lp-step.php
- Modified: 2022-09-23T02:52:32+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/learnpress/4.1.7.2/code/inc/models/steps/class-lp-step.php#L10-L20`.

```php
<?php

/**
 * Class LP_Group_Step
 *
 * @author tungnnx
 * @version 1.0.0
 * @since 4.0.0
 */
class LP_Step extends LP_REST_Response {
	/**
	 * Step Name
	 *
	 * @var string
	 */
	public $name = '';
	/**
	 * Step label
	 *
	 * @var string
	 */
	public $label = '';
	/**
	 * @var string
	 */
	public $description = '';
	/**
	 * @var int .
	 */
	public $percent = 0;

	/**
	 * LP_Step constructor.
	 *
	 * @param string $name .
	 * @param string $label .
	 * @param string $description .
	 * @param string $status .
	 */
	public function __construct( string $name, string $label, string $description = '', string $status = '' ) {
		$this->name        = $name;
		$this->label       = $label;
		$this->description = $description;
		$this->status      = $status;

		parent::__construct();
	}
}

```
