메소드 |
설명 |
|
__construct ( ) |
Constructor. |
|
get_plugin_configs ( ) : array |
Returns an array of configurations for the known plugins. |
|
get_remote_plugin_meta ( ) |
Get remote plugin meta to populate $config plugin objects. |
|
instance ( ) : object |
The Plugin object can be created/obtained via this
method - this prevents unnecessary work in rebuilding the object and
querying to construct a list of categories, etc. |
|
load_pre_filters ( ) |
Load pre-update filters. |
|
plugin_branch_switcher ( $plugin_file, $plugin_data ) : boolean |
Add branch switch row to plugins page. |
|
plugin_row_meta ( $links, $file ) : array |
Add 'View details' link to plugins page. |
|
plugins_api ( $false, $action, $response ) : mixed |
Put changelog in plugins_api, return WP.org data as appropriate |
|
pre_set_site_transient_update_plugins ( $transient ) : mixed |
Hook into pre_set_site_transient_update_plugins to update from GitHub. |
|