[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
WordPress Administration Update API
File Size: | 1112 lines (35 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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. since: 2.7.0 |
get_core_updates( $options = array() X-Ref |
Gets available core updates. return: array|false Array of the update objects on success, false on failure. param: array $options Set $options['dismissed'] to true to show dismissed upgrades too, since: 2.7.0 |
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: object|false The core update offering on success, false on failure. since: 3.7.0 |
get_core_checksums( $version, $locale ) X-Ref |
Gets and caches the checksums for the given version of WordPress. return: array|false An array of checksums on success, false on failure. param: string $version Version string to query. param: string $locale Locale to query. since: 3.7.0 |
dismiss_core_update( $update ) X-Ref |
Dismisses core update. return: bool param: object $update since: 2.7.0 |
undismiss_core_update( $version, $locale ) X-Ref |
Undismisses core update. return: bool param: string $version param: string $locale since: 2.7.0 |
find_core_update( $version, $locale ) X-Ref |
Finds the available update for WordPress core. return: object|false The core update offering on success, false on failure. param: string $version Version string to find the update for. param: string $locale Locale to find the update for. since: 2.7.0 |
core_update_footer( $msg = '' ) X-Ref |
return: string param: string $msg since: 2.3.0 |
update_nag() X-Ref |
return: void|false since: 2.3.0 |
update_right_now_message() X-Ref |
Displays WordPress version and active theme in the 'At a Glance' dashboard widget. since: 2.5.0 |
get_plugin_updates() X-Ref |
return: array since: 2.9.0 |
wp_plugin_update_rows() X-Ref |
since: 2.9.0 |
wp_plugin_update_row( $file, $plugin_data ) X-Ref |
Displays update information for a plugin. return: void|false param: string $file Plugin basename. param: array $plugin_data Plugin information. since: 2.3.0 |
get_theme_updates() X-Ref |
return: array since: 2.9.0 |
wp_theme_update_rows() X-Ref |
since: 3.1.0 |
wp_theme_update_row( $theme_key, $theme ) X-Ref |
Displays update information for a theme. return: void|false param: string $theme_key Theme stylesheet. param: WP_Theme $theme Theme object. since: 3.1.0 |
maintenance_nag() X-Ref |
return: void|false since: 2.7.0 |
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. since: 4.6.0 |
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 since: 4.6.0 |
wp_recovery_mode_nag() X-Ref |
Displays a notice when the user is in recovery mode. since: 5.2.0 |
wp_is_auto_update_enabled_for_type( $type ) X-Ref |
Checks whether auto-updates are enabled. return: bool True if auto-updates are enabled for `$type`, false otherwise. param: string $type The type of update being checked: 'theme' or 'plugin'. since: 5.5.0 |
wp_is_auto_update_forced_for_item( $type, $update, $item ) X-Ref |
Checks whether auto-updates are forced for an item. return: bool True if auto-updates are forced for `$item`, false otherwise. param: string $type The type of update being checked: 'theme' or 'plugin'. param: bool|null $update Whether to update. The value of null is internally used param: object $item The update offer. since: 5.6.0 |
wp_get_auto_update_message() X-Ref |
Determines the appropriate auto-update message to be displayed. return: string The update message to be shown. since: 5.5.0 |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |