post_parent)) { $post = get_post($post->post_parent); } if ('post_title_variation' === $field) { $field = 'post_title'; } return isset($post->{$field}) ? $post->{$field} : ''; } public function isEnabled() { return false; } }