← All changes
|
inc/freemius/includes/entities/class-fs-plugin-info.php
+33
-33
4.3.8
→
4.3.17
View file →
| @@ -1,34 +1,34 @@ | ||
| 1 | -<?php | |
| 2 | - /** | |
| 3 | - * @package Freemius | |
| 4 | - * @copyright Copyright (c) 2015, Freemius, Inc. | |
| 5 | - * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 | |
| 6 | - * @since 1.0.3 | |
| 7 | - */ | |
| 8 | - | |
| 9 | - if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | - exit; | |
| 11 | - } | |
| 12 | - | |
| 13 | - class FS_Plugin_Info extends FS_Entity { | |
| 14 | - public $plugin_id; | |
| 15 | - public $description; | |
| 16 | - public $short_description; | |
| 17 | - public $banner_url; | |
| 18 | - public $card_banner_url; | |
| 19 | - public $selling_point_0; | |
| 20 | - public $selling_point_1; | |
| 21 | - public $selling_point_2; | |
| 22 | - public $screenshots; | |
| 23 | - | |
| 24 | - /** | |
| 25 | - * @param stdClass|bool $plugin_info | |
| 26 | - */ | |
| 27 | - function __construct( $plugin_info = false ) { | |
| 28 | - parent::__construct( $plugin_info ); | |
| 29 | - } | |
| 30 | - | |
| 31 | - static function get_type() { | |
| 32 | - return 'plugin'; | |
| 33 | - } | |
| 1 | +<?php | |
| 2 | + /** | |
| 3 | + * @package Freemius | |
| 4 | + * @copyright Copyright (c) 2015, Freemius, Inc. | |
| 5 | + * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 | |
| 6 | + * @since 1.0.3 | |
| 7 | + */ | |
| 8 | + | |
| 9 | + if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit; | |
| 11 | + } | |
| 12 | + | |
| 13 | + class FS_Plugin_Info extends FS_Entity { | |
| 14 | + public $plugin_id; | |
| 15 | + public $description; | |
| 16 | + public $short_description; | |
| 17 | + public $banner_url; | |
| 18 | + public $card_banner_url; | |
| 19 | + public $selling_point_0; | |
| 20 | + public $selling_point_1; | |
| 21 | + public $selling_point_2; | |
| 22 | + public $screenshots; | |
| 23 | + | |
| 24 | + /** | |
| 25 | + * @param stdClass|bool $plugin_info | |
| 26 | + */ | |
| 27 | + function __construct( $plugin_info = false ) { | |
| 28 | + parent::__construct( $plugin_info ); | |
| 29 | + } | |
| 30 | + | |
| 31 | + static function get_type() { | |
| 32 | + return 'plugin'; | |
| 33 | + } | |
| 34 | 34 | } |