PluginProbe ʕ •ᴥ•ʔ
FAPI Member / trunk
FAPI Member vtrunk
2.2.33 2.2.32 trunk 1.9.47 2.1.18 2.2.24 2.2.25 2.2.26 2.2.28 2.2.29 2.2.30 2.2.31
fapi-member / src / FapiTermEnvelope.php
fapi-member / src Last commit date
Api 1 day ago Container 2 years ago Deprecated 2 years ago Divi 1 year ago Elementor 7 months ago Email 3 years ago Email 2 2 years ago Mioweb 1 year ago Model 1 year ago Repository 3 weeks ago Service 1 day ago Templates 2 years ago Utils 1 day ago Utils 2 2 years ago services 2 2 years ago styles 2 2 years ago Bootstrap.php 1 day ago EmailTemplatesProvider.php 3 years ago FapiApi.php 2 years ago FapiClients.php 2 years ago FapiLevels.php 2 years ago FapiMemberPlugin.php 1 year ago FapiMemberTools.php 2 years ago FapiMembership.php 2 years ago FapiMembershipLoader.php 2 years ago FapiSanitization.php 2 years ago FapiTermEnvelope.php 4 years ago FapiUserUtils.php 3 years ago
FapiTermEnvelope.php
42 lines
1 <?php
2
3 namespace FapiMember;
4
5 use WP_Term;
6
7 final class FapiTermEnvelope {
8
9
10 /** @var WP_Term */
11 private $term;
12
13 /** @var int */
14 private $order;
15
16 /**
17 * FapiTermEnvelope constructor.
18 *
19 * @param WP_Term $term
20 * @param int $order
21 */
22 public function __construct( $term, $order ) {
23 $this->term = $term;
24 $this->order = $order;
25 }
26
27 /**
28 * @return WP_Term
29 */
30 public function getTerm() {
31 return $this->term;
32 }
33
34 /**
35 * @return int
36 */
37 public function getOrder() {
38 return $this->order;
39 }
40
41 }
42