diff --git a/src/plugin/class-subject.php b/src/plugin/class-subject.php index 972e5a19..f944e59b 100644 --- a/src/plugin/class-subject.php +++ b/src/plugin/class-subject.php @@ -62,4 +62,8 @@ public function id(): int { public function author_id(): int { return $this->author_id; } + + public function transformed_post_id(): int { + return absint( get_post_meta( $this->id, Transformer::META_KEY_LIBERATED_OUTPUT, true ) ); + } }