options_reading_blog_charset()WP 3.5.0

Render the site charset setting.

No Hooks.

Return

null. Nothing (null).

Usage

options_reading_blog_charset();

Changelog

Since 3.5.0 Introduced.

options_reading_blog_charset() code WP 6.5.2

function options_reading_blog_charset() {
	echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
	echo '<p class="description">' . __( 'The <a href="https://wordpress.org/documentation/article/wordpress-glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
}