WordPress at Your Fingertips
function is not described

WC_Data::filter_null_meta() protected WC 3.0.0

Filter null meta values from array.

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

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->filter_null_meta( $meta );
$meta(mixed) (required)
Meta value to check.

Changelog

Since 3.0.0 Introduced.

Code of WC_Data::filter_null_meta() WC 5.8.0

protected function filter_null_meta( $meta ) {
	return ! is_null( $meta->value );
}