Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\TypeSafePostRepository::update_post PHP Метод

update_post() публичный Метод

Updates the translation complete setting value for the post with the given ID.
С версии: 3.0.0
public update_post ( integer $post_id, boolean $value ) : boolean
$post_id integer Post ID.
$value boolean Setting value to be set.
Результат boolean Whether or not the translation complete setting value was updated successfully.
    public function update_post($post_id, $value)
    {
        return (bool) update_post_meta($post_id, PostRepository::META_KEY, (bool) $value);
    }