WC_Data::filter_null_meta()
Filter null meta values from array.
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. |
WC_Data::filter_null_meta() WC Data::filter null meta code WC 9.8.2
protected function filter_null_meta( $meta ) { return ! is_null( $meta->value ); }