Astra_Builder_Helper::get_translatable_string( string $option_key )
Method to return single translatable string for builder components.
Description
Parameters
- $option_key
-
(string) (Required) Option key for the translated dynamic string.
Source
File: inc/core/builder/class-astra-builder-helper.php
public static function get_translatable_string( $option_key ) { $strings = self::get_translatable_strings(); if ( isset( $strings[ $option_key ] ) ) { return $strings[ $option_key ]; } return '%astra%'; // Indicates to use original string saved in the database. }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.8.4 | Introduced. |