ActionScheduler_Abstract_ListTable::translate()
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use
`_x()`
instead.Makes translation easier, it basically just wraps _x with some default (the package name).
Method of the class: ActionScheduler_Abstract_ListTable{}
No Hooks.
Return
String|null
. The translated text.
Usage
// protected - for code of main (parent) or child class $result = $this->translate( $text, $context );
- $text(string) (required)
- The new text to translate.
- $context(string)
- The context of the text.
Default: ''
Changelog
Deprecated since 3.0.0 | Use _x() instead. |
ActionScheduler_Abstract_ListTable::translate() ActionScheduler Abstract ListTable::translate code WC 9.3.3
protected function translate( $text, $context = '' ) { return $text; }