PHP 클래스 TitanFrameworkPlugin

부터: 1.0
파일 보기 프로젝트 열기: gambitph/titan-framework 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor, add hooks
force_load_first ( array $plugins = null ) : array Forces our plugin to be loaded first. This is to ensure that plugins that use the framework have access to this class from almost anywhere
load_text_domain ( ) : void Load plugin translations
plugin_links ( array $plugin_meta, string $plugin_file ) : array Adds links to the docs and GitHub
trigger_option_creation ( ) : void Trigger the creation of the options

메소드 상세

__construct() 공개 메소드

Constructor, add hooks
부터: 1.0
public __construct ( )

force_load_first() 공개 메소드

Forces our plugin to be loaded first. This is to ensure that plugins that use the framework have access to this class from almost anywhere
또한 보기: initially based on http://snippets.khromov.se/modify-wordpress-plugin-load-order/
부터: 1.0
public force_load_first ( array $plugins = null ) : array
$plugins array List of plugins loaded.
리턴 array Modified list of plugins.

load_text_domain() 공개 메소드

Load plugin translations
부터: 1.0
public load_text_domain ( ) : void
리턴 void

trigger_option_creation() 공개 메소드

Trigger the creation of the options
부터: 1.9
public trigger_option_creation ( ) : void
리턴 void