ActionScheduler_Abstract_ListTable::translate()protectedWC 1.0

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() code WC 8.7.0

protected function translate( $text, $context = '' ) {
	return $text;
}