| @@ 276-282 (lines=7) @@ | ||
| 273 | * |
|
| 274 | * @return string |
|
| 275 | */ |
|
| 276 | public static function add_label_translation( $id, $group = '', $text = '' ) { |
|
| 277 | return self::get_text( array( |
|
| 278 | 'id' => "{$id}_label", |
|
| 279 | 'group' => $group, |
|
| 280 | 'text' => $text, |
|
| 281 | ) ); |
|
| 282 | } |
|
| 283 | ||
| 284 | /** |
|
| 285 | * Get tooltip translation by group ( if any ) |
|
| @@ 296-302 (lines=7) @@ | ||
| 293 | * |
|
| 294 | * @return string |
|
| 295 | */ |
|
| 296 | public static function add_tooltip_translation( $id, $group = '', $text = '' ) { |
|
| 297 | return self::get_text( array( |
|
| 298 | 'id' => "{$id}_label", |
|
| 299 | 'group' => $group, |
|
| 300 | 'text' => $text, |
|
| 301 | ) ); |
|
| 302 | } |
|
| 303 | ||
| 304 | /** |
|
| 305 | * Get label by group ( if any ) |
|