Метод |
Описание |
|
__construct ( ) |
Determine the plugin enhancements declared by the theme. |
|
admin_notices ( ) |
Display the admin notice for the plugin enhancements. |
|
get_module_name ( string $module ) |
Set the name of our modules. This is just so we can easily refer to them in
a nice, consistent, human-readable way. |
|
get_theme_dependencies ( ) |
Let's see which modules (if any!) this theme relies on. |
|
init ( ) |
Init function. |
|
plugin_activate_url ( string $slug ) |
Helper function to return the URL for activating a plugin. |
|
plugin_install_url ( string $slug ) |
Helper function to return the URL for installing a plugin. |
|
set_module_status ( ) |
For Jetpack modules, we want to check and see if those modules are actually activated. |
|
set_plugin_status ( ) |
Determine the status of each of the plugins declared as a dependency
by the theme and whether an admin notice is necessary or not. |
|