PHP Class RWMB_Loader

Exibir arquivo Open project: rilwis/meta-box Class Usage Examples

Public Methods

Method Description
get_path ( string $path = '' ) : array Get plugin base path and URL.
init ( ) Bootstrap the plugin.

Protected Methods

Method Description
constants ( ) Define plugin constants.

Method Details

constants() protected method

Define plugin constants.
protected constants ( )

get_path() public static method

The method is static and can be used in extensions.
public static get_path ( string $path = '' ) : array
$path string Base folder path
return array Path and URL.

init() public method

Bootstrap the plugin.
public init ( )