WC_Data_Store_WP::exclude_internal_meta_keys( object $meta )

Callback to remove unwanted meta data.


Description Description


Parameters Parameters

$meta

(Required) Meta object to check if it should be excluded or not.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/data-stores/class-wc-data-store-wp.php

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.