Summery Summery
Determines whether the current locale is right-to-left (RTL).
Syntax Syntax
Description Description
For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.
Return Return
(bool) Whether locale is RTL.
Source Source
File: wp-includes/l10n.php
if ( $parsed_args['show_option_site_default'] ) { $structure[] = sprintf( '<option value="site-default" data-installed="1"%s>%s</option>', selected( 'site-default', $parsed_args['selected'], false ), _x( 'Site Default', 'default site language' ) ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |