# learnpress/4.1.7.2/inc/class-lp-factory.php

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

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.2/code/inc/class-lp-factory.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.2/raw/inc/class-lp-factory.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/class-lp-factory.php#L10-L20`.

```php
<?php

/**
 * @depecated 4.1.6.4
 */
class LP_Factory {
	/**
	 * @return LP_User_CURD
	 */
	public static function get_user_factory() {
		return LP_Object_Data_CURD::get( 'user' );
	}

	/**
	 * @return LP_Order_CURD
	 */
	public static function get_order_factory() {
		return LP_Object_Data_CURD::get( 'order' );
	}
}

```
