restore_previous_locale

Advertisement

Summery Summery

Restores the translations according to the previous locale.

Syntax Syntax

restore_previous_locale()

Return Return

(string|false) Locale on success, false on error.

Source Source

File: wp-includes/l10n.php

				'<option value="%s" lang="%s"%s>%s</option>',
				esc_attr( $translation['language'] ),
				esc_attr( current( $translation['iso'] ) ),
				selected( $translation['language'], $parsed_args['selected'], false ),
				esc_html( $translation['native_name'] )
			);

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply