apply_filters( 'wpml_is_rtl', mixed $empty_value )
Description
Returns TRUE is the current language is RTL
Arguments
$empty_valuemixedRequiredThis is normally the value the filter will be modifying. We are not filtering anything here so set this to NULL. This for the filter function to actually receive the full argument list
Example Usage
if ( apply_filters( 'wpml_is_rtl', NULL) ) { //Link to RTL CSS stylesheet } else { //Link to LTR CSS stylesheet } // Alternatively //Include link to LTR CSS stylesheet here if ( apply_filters( 'wpml_is_rtl', false ) ) { //Link to RTL CSS stylesheet }