ActionScheduler_Abstract_ListTable::translate()
Устарела с версии 3.0.0. Больше не поддерживается и может быть удалена. Используйте
`_x()`
.Makes translation easier, it basically just wraps _x with some default (the package name).
Метод класса: ActionScheduler_Abstract_ListTable{}
Хуков нет.
Возвращает
Строку|null
. The translated text.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->translate( $text, $context );
- $text(строка) (обязательный)
- The new text to translate.
- $context(строка)
- The context of the text.
По умолчанию: ''
Список изменений
Устарела с 3.0.0 | Use _x() instead. |
Код ActionScheduler_Abstract_ListTable::translate() ActionScheduler Abstract ListTable::translate WC 7.7.0
protected function translate( $text, $context = '' ) { return $text; }