Automattic\WooCommerce\Admin\RemoteInboxNotifications\Transformers

ArrayValues::transform()publicWC 1.0

Search array value by one of its key.

{} It's a method of the class: ArrayValues{}

No Hooks.

Return

Mixed.

Usage

$ArrayValues = new ArrayValues();
$ArrayValues->transform( $value, $arguments, $default );
$value(mixed) (required)
a value to transform.
$arguments(stdClass|null)
arguments.
Default: null
$default(string|null)
default value.
Default: null

Code of ArrayValues::transform() WC 6.6.1

public function transform( $value, stdClass $arguments = null, $default = null ) {
	return array_values( $value );
}