sanitize_locale_name

sanitize_locale_name

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('sanitize_locale_name') is found 1 times:

  • /wp-includes/formatting.php line 2459
    2455
    2456
    2457
    2458
    2459
    2460
    2461
    2462
    2463
    2464
    2465
         *
         * @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