WordPress at Your Fingertips
function is not described

WC_Data_Store_WP::exclude_internal_meta_keys() protected WC 1.0

Callback to remove unwanted meta data.

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

No Hooks.




// protected - for code of main (parent) or child class
$result = $this->exclude_internal_meta_keys( $meta );
$meta(object) (required)
Meta object to check if it should be excluded or not.

Code of WC_Data_Store_WP::exclude_internal_meta_keys() WC 5.8.0

protected function exclude_internal_meta_keys( $meta ) {
	return ! in_array( $meta->meta_key, $this->internal_meta_keys, true ) && 0 !== stripos( $meta->meta_key, 'wp_' );