pre_determine_locale

pre_determine_locale

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('pre_determine_locale') is found 1 times:

  • /wp-includes/l10n.php line 133
    	 * @since 5.0.0
    	 *
    	 * @param string|null $locale The locale to return and short-circuit. Default null.
    	 */
    	$determined_locale = apply_filters( 'pre_determine_locale', null );
    
    	if ( $determined_locale && is_string( $determined_locale ) ) {
    		return $determined_locale;
    	}
    
    	if (