-
Notifications
You must be signed in to change notification settings - Fork 1
/
interface-theme-admin-page.php
42 lines (37 loc) · 1.02 KB
/
interface-theme-admin-page.php
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
<?php
/**
* [namespace description]
*
* @package PattonWebz_Framework
*
* @author William Patton <[email protected]>
* @copyright Copyright (c) 2018, William Patton
* @link https://github.com/pattonwebz/customizer-framework/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
namespace PattonWebz\Framework;
interface Theme_Admin_Page {
/**
* Construtor for the class. Should accept a prefix string and update a
* propery based on it's uses.
*
* @method __construct
* @param string|null $prefix a prefix to use when hooking in actions or defining something in global scope.
* @return object
*/
public function __construct( $prefix = null );
/**
* Called to hook in the page and render function to WP or it's location in another page.
*
* @method hook_pages
* @return null
*/
public function page_hooks();
/**
* The page render method, should directly echo content already sanitized.
*
* @method page_render
* @return null
*/
public function page_render();
}