wp_get_translation_updates

Advertisement

Summery Summery

Retrieves a list of all language updates available.

Syntax Syntax

wp_get_translation_updates()

Return Return

(object[]) Array of translation objects that have available updates.

Source Source

File: wp-includes/update.php

	if ( is_array( $response ) ) {
		$new_update->response     = $response['themes'];
		$new_update->no_update    = $response['no_update'];
		$new_update->translations = $response['translations'];
	}

	set_site_transient( 'update_themes', $new_update );
}

/**
 * Performs WordPress automatic background updates.
 *
 * Updates WordPress core plus any plugins and themes that have automatic updates enabled.
 *
 * @since 3.7.0
 */
function wp_maybe_auto_update() {
	include_once ABSPATH . 'wp-admin/includes/admin.php';

Advertisement

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.

Advertisement

Leave a Reply