PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.9.2
Pods – Custom Content Types and Fields v3.3.9.2
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / CLI / Commands / Group.php
pods / src / Pods / CLI / Commands Last commit date
Base.php 1 week ago Field.php 1 week ago Group.php 1 week ago Playbook.php 1 week ago Pod.php 1 week ago Tools.php 1 week ago
Group.php
33 lines
1 <?php
2
3 namespace Pods\CLI\Commands;
4
5 // Don't load directly.
6 if ( ! defined( 'ABSPATH' ) ) {
7 die( '-1' );
8 }
9
10 /**
11 * Class Group
12 *
13 * @since 2.8.0
14 */
15 class Group extends Base {
16
17 /**
18 * @var string
19 */
20 protected $command = 'group';
21
22 /**
23 * Setup endpoint object.
24 *
25 * @since 2.8.0
26 */
27 public function __construct() {
28 $this->endpoint_archive = pods_container( 'pods.rest-v1.endpoints.groups' );
29 $this->endpoint_single = pods_container( 'pods.rest-v1.endpoints.group' );
30 $this->endpoint_single_slug = pods_container( 'pods.rest-v1.endpoints.group-slug' );
31 }
32 }
33