core_version_check_locale

core_version_check_locale

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('core_version_check_locale') is found 1 times:

  • /wp-includes/update.php line 69
    	 * @since 2.8.0
    	 *
    	 * @param string $locale Current locale.
    	 */
    	$locale = apply_filters( 'core_version_check_locale', get_locale() );
    
    	// Update last_checked for current to prevent multiple blocking requests if request hangs.
    	$current->last_checked = time();
    	set_site_transient( 'update_core', $current );
    
    	if ( method_exists( $wpdb, 'db_server_info' ) ) {