Filters the locale requested for WordPress core translations.
Parameters
$locale
string- Current locale.
Source
$locale = apply_filters( 'core_version_check_locale', get_locale() );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
CARVIEW |
Filters the locale requested for WordPress core translations.
$locale
string$locale = apply_filters( 'core_version_check_locale', get_locale() );
Used by | Description |
---|---|
wp_version_check()wp-includes/update.php | Checks WordPress version against the newest version. |
Version | Description |
---|---|
2.8.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example migrated from Codex:
Overrides locale version control checks. Removes need for separate updates.