Set modified_after date to "continue where we left off" if appropriate

        :param params: the GET params dict, which may be updated to include the "modified_after" key
        :param post_type: post, page, attachment, or any custom post type set up in the WP API
        :param status: publish, private, draft, etc.
        :return: None

def set_posts_param_modified_after(self, params, post_type, status):
        """
        Set modified_after date to "continue where we left off" if appropriate

        :param params: the GET params dict, which may be updated to include the "modified_after" key
        :param post_type: post, page, attachment, or any custom post type set up in the WP API
        :param status: publish, private, draft, etc.
        :return: None
        """
        if not self.purge_first and not self.full and not self.modified_after:
            if status == "any":
                latest = Post.objects.filter(post_type=post_type).order_by("-modified").first()
            else:
                latest = Post.objects.filter(post_type=post_type, status=status).order_by("-modified").first()
            if latest:
                self.modified_after = latest.modified

        if self.modified_after:
            params["modified_after"] = self.modified_after.isoformat()
            logger.info("getting posts after: %s", params["modified_after"])