src/properties/class-papi-property-link.php
public function delete_value( $slug, $post_id, $type ) {
		$values = $this->load_value( null, $slug, $post_id );
		$values = is_object( $values ) ? (array) $values : $values;
		$result = true;

		foreach ( array_keys( $values ) as $key ) {
			$out    = papi_data_delete( $post_id, $slug . '_' . $key );
			$result = $out ? $result : $out;
		}

		if ( $result ) {
			$result = papi_data_delete( $post_id, $slug );
		}

		return $result;
	}
public function delete_value( $slug, $post_id, $type ) {
		$values = $this->load_value( null, $slug, $post_id );
		$values = is_object( $values ) ? (array) $values : $values;
		$result = true;

		foreach ( array_keys( $values ) as $key ) {
			$out    = papi_data_delete( $post_id, $slug . '_' . $key );
			$result = $out ? $result : $out;
		}

		if ( $result ) {
			$result = papi_data_delete( $post_id, $slug );
		}

		return $result;
	}
Delete value from the database.

@param  string $slug
@param  int    $post_id
@param  string $type

@return bool