PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | inc/Models/class-lp-rest-response.php +42 -42 4.3.84.4.8 View file →
@@ -1,42 +1,42 @@
1 -<?php
2 -
3 -/**
4 - * Class LP_Asset_Key
5 - *
6 - * @author tungnx
7 - * @package LearnPress/Classes
8 - * @version 1.0
9 - * @since 3.2.8
10 - */
11 -
12 -if ( ! defined( 'ABSPATH' ) ) {
13 - exit; // Exit if accessed directly
14 -}
15 -
16 -class LP_REST_Response {
17 - /**
18 - * Status.
19 - *
20 - * @var string.
21 - */
22 - public $status = 'error';
23 - /**
24 - * Message.
25 - *
26 - * @var string .
27 - */
28 - public $message = '';
29 - /**
30 - * Extra data
31 - *
32 - * @var object
33 - */
34 - public $data;
35 -
36 - /**
37 - * LP_REST_Response constructor.
38 - */
39 - public function __construct() {
40 - $this->data = new stdClass();
41 - }
42 -}
1 +<?php
2 +
3 +/**
4 + * Class LP_Asset_Key
5 + *
6 + * @author tungnx
7 + * @package LearnPress/Classes
8 + * @version 1.0
9 + * @since 3.2.8
10 + */
11 +
12 +if ( ! defined( 'ABSPATH' ) ) {
13 + exit; // Exit if accessed directly
14 +}
15 +
16 +class LP_REST_Response {
17 + /**
18 + * Status.
19 + *
20 + * @var string.
21 + */
22 + public $status = 'error';
23 + /**
24 + * Message.
25 + *
26 + * @var string .
27 + */
28 + public $message = '';
29 + /**
30 + * Extra data
31 + *
32 + * @var object
33 + */
34 + public $data;
35 +
36 + /**
37 + * LP_REST_Response constructor.
38 + */
39 + public function __construct() {
40 + $this->data = new stdClass();
41 + }
42 +}