first commit
This commit is contained in:
14
wp-content/plugins/brizy/languages/main.php
Normal file
14
wp-content/plugins/brizy/languages/main.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
if ( ! function_exists( '__bt' ) ) {
|
||||
function __bt( $key, $default, $textDomain = 'brizy' ) {
|
||||
|
||||
$text = apply_filters( 'brizy_wl_value', array( 'key' => $key, 'default' => $default ) );
|
||||
|
||||
if ( is_string( $text ) && ! empty( $text ) ) {
|
||||
return trim($text);
|
||||
}
|
||||
|
||||
return __( $default, $textDomain );
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user