sanitize_locale_name

sanitize_locale_name

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('sanitize_locale_name') is found 1 times:

  • /wp-includes/formatting.php line 2459
    	 *
    	 * @param string $sanitized   The sanitized locale name.
    	 * @param string $locale_name The locale name before sanitization.
    	 */
    	return apply_filters( 'sanitize_locale_name', $sanitized, $locale_name );
    }
    
    /**
     * Converts lone & characters into `&` (a.k.a. `&`)
     *
     * @since 0.71