class-media-library-organizer-cli.php
674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* WP-CLI class.
*
* @package Media_Library_Organizer
* @author WP Media Library
*/
/**
* Registers WP-CLI Plugin Commands.
*
* @since 1.0.9
*/
class Media_Library_Organizer_CLI {
/**
* Holds the base class object.
*
* @since 1.0.9
*
* @var object
*/
public $base;
/**
* Constructor
*
* @since 1.0.9
*
* @param object $base Base Plugin Class.
*/
public function __construct( $base ) {
// Store base class.
$this->base = $base;
add_action( 'cli_init', array( $this, 'register_commands' ) );
}
/**
* Registers WP-CLI Commands
*
* @since 1.0.9
*/
public function register_commands() {
}
}