Метод |
Описание |
|
__construct ( string $_api_url, string $_plugin_file, array $_api_data = null ) |
Class constructor. |
|
check_update ( array $_transient_data ) : array |
Check for Updates at the defined API endpoint and modify the update array. |
|
http_request_args ( array $args, string $url ) : object |
Disable SSL verification in order to prevent download update failures |
|
init ( ) : void |
Set up WordPress filters to hook into WP's update process. |
|
plugins_api_filter ( mixed $_data, string $_action = '', object $_args = null ) : object |
Updates information on the "View version x.x details" page with custom data. |
|
show_changelog ( ) |
|
|
show_update_notification ( string $file, array $plugin ) |
show update nofication row -- needed for multisite subsites, because WP won't tell you otherwise! |
|