Filter: bricks/rtl_languages
Filters the list of language codes that Bricks considers right-to-left (RTL). This affects the layout direction of the builder interface when a specific locale is active.
Parameters
Section titled “Parameters”$languages(array): Array of RTL language codes (e.g.,['ar', 'he', 'fa']).
Example usage
Section titled “Example usage”add_filter( 'bricks/rtl_languages', function( $languages ) { // Add a custom RTL language code $languages[] = 'abc';
return $languages;} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.