Apple_Exporter\Workspace::clean_up PHP Method

clean_up() public method

Delete all bundle data from the post.
Since: 0.2.0
public clean_up ( )
    public function clean_up()
    {
        do_action('apple_news_before_clean_up');
        delete_post_meta($this->content_id, self::JSON_META_KEY);
        delete_post_meta($this->content_id, self::BUNDLE_META_KEY);
        delete_post_meta($this->content_id, self::ERRORS_META_KEY);
        do_action('apple_news_after_clean_up');
    }