src/core/class-papi-core-property.php
public function get_post_id() {
		if ( ! papi_is_empty( $this->post_id ) ) {
			return $this->post_id;
		}

		if ( $this->store instanceof Papi_Core_Meta_Store ) {
			return $this->store->id;
		}

		return papi_get_post_id();
	}
public function get_post_id() {
		if ( ! papi_is_empty( $this->post_id ) ) {
			return $this->post_id;
		}

		if ( $this->store instanceof Papi_Core_Meta_Store ) {
			return $this->store->id;
		}

		return papi_get_post_id();
	}
Get post id.

@return int