[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
WordPress Administration Update API
File Size: | 902 lines (29 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 1 file wp-admin/includes/class-wp-upgrader.php |
get_preferred_from_update_core() X-Ref |
Selects the first update version from the update_core option. return: object|array|false The response from the API on success, false on failure. |
get_core_updates( $options = array() X-Ref |
Get available core updates. param: array $options Set $options['dismissed'] to true to show dismissed upgrades too, return: array|false Array of the update objects on success, false on failure. |
find_core_auto_update() X-Ref |
Gets the best available (and enabled) Auto-Update for WordPress Core. If there's 1.2.3 and 1.3 on offer, it'll choose 1.3 if the installation allows it, else, 1.2.3 return: array|false False on failure, otherwise the core update offering. |
get_core_checksums( $version, $locale ) X-Ref |
Gets and caches the checksums for the given version of WordPress. param: string $version Version string to query. param: string $locale Locale to query. return: bool|array False on failure. An array of checksums on success. |
dismiss_core_update( $update ) X-Ref |
param: object $update return: bool |
undismiss_core_update( $version, $locale ) X-Ref |
param: string $version param: string $locale return: bool |
find_core_update( $version, $locale ) X-Ref |
param: string $version param: string $locale return: object|false |
core_update_footer( $msg = '' ) X-Ref |
param: string $msg return: string |
update_nag() X-Ref |
return: false|void |
update_right_now_message() X-Ref |
No description |
get_plugin_updates() X-Ref |
return: array |
wp_plugin_update_rows() X-Ref |
wp_plugin_update_row( $file, $plugin_data ) X-Ref |
Displays update information for a plugin. param: string $file Plugin basename. param: array $plugin_data Plugin information. return: false|void |
get_theme_updates() X-Ref |
return: array |
wp_theme_update_rows() X-Ref |
wp_theme_update_row( $theme_key, $theme ) X-Ref |
Displays update information for a theme. param: string $theme_key Theme stylesheet. param: WP_Theme $theme Theme object. return: false|void |
maintenance_nag() X-Ref |
return: false|void |
wp_print_admin_notice_templates() X-Ref |
Prints the JavaScript templates for update admin notices. Template takes one argument with four values: param {object} data { Arguments for admin notice. |
wp_print_update_row_templates() X-Ref |
Prints the JavaScript templates for update and deletion rows in list tables. The update template takes one argument with four values: param {object} data { Arguments for the update row |
wp_recovery_mode_nag() X-Ref |
Displays a notice when the user is in recovery mode. |
Generated: Sat Nov 23 20:47:33 2019 | Cross-referenced by PHPXref 0.7 |