public function update_post($post_id, $value) { return (bool) update_post_meta($post_id, PostRepository::META_KEY, (bool) $value); }