Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: sanitize_locale_name

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
2458
2459      /**
2460       * Filters a sanitized locale name string.
2461       *
2462       * @since 6.2.1
2463       *
2464       * @param string $sanitized   The sanitized locale name.
2465       * @param string $locale_name The locale name before sanitization.
2466       */
2467      return apply_filters( 'sanitize_locale_name', $sanitized, $locale_name );
2468 }
2469
2470 /**
2471  * Converts lone & characters into `&` (a.k.a. `&`)
2472  *
2473  * @since 0.71
2474  *
2475  * @param string $content    String of characters to be converted.
2476  * @param string $deprecated Not used.