PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.3.1
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.3.1
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
insert-php / includes / jsonmapper / class / snippet.php

snippet.php in Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts 2.3.1, at includes/jsonmapper/class/snippet.php

79 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Snippet class
4 *
5 * @author Webcraftic <wordpress.webraftic@gmail.com>
6 * @copyright (c) 05.03.2019, Webcraftic
7 * @version 1.0
8 */
9
10 namespace WINP\JsonMapper;
11
12 // Exit if accessed directly
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 class Snippet {
18
19 /**
20 * @var integer Snippet id
21 */
22 public $id;
23
24 /**
25 * @var string Snippet title
26 */
27 public $title;
28
29 /**
30 * @var string Snippet description
31 */
32 public $description;
33
34 /**
35 * @var string Snippet content
36 */
37 public $content;
38
39 /**
40 * @var string|null Snippets Library: video link
41 */
42 public $video_link;
43
44 /**
45 * @var string|null Snippet scope
46 */
47 public $execute_everywhere;
48
49 /**
50 * @var boolean Snippet status
51 */
52 public $status;
53
54 /**
55 * @var integer Type id
56 */
57 public $type_id;
58
59 /**
60 * @var boolean|null Snippet premium marker
61 */
62 public $is_premium;
63
64 /**
65 * @var integer Snippet updated time (timestamp)
66 */
67 public $updated_at;
68
69 /**
70 * @var integer Snippet created time (timestamp)
71 */
72 public $created_at;
73
74 /**
75 * @var Type
76 */
77 public $type;
78 }
79