src/Extensions/Meta/ModelWithMeta.php
public function _meta_type_primary_id_override( $key, $original ) {

		if ( $original === $this->get_meta_type() . '_id' ) {
			$key = static::get_meta_table()->get_primary_id_column();
		}

		return $key;
	}
public function _meta_type_primary_id_override( $key, $original ) {

		if ( $original === $this->get_meta_type() . '_id' ) {
			$key = static::get_meta_table()->get_primary_id_column();
		}

		return $key;
	}
Override the primary ID column by filtering the results of `sanitize_key()`.

@since 2.0

@internal

@param string $key
@param string $original

@return string