PHP Класс TitanFrameworkPlugin

С версии: 1.0
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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