'Receiver for the post_publish signal. Gets the published page from kwargs.'

def _receiver(self, sender, **kwargs):

    draft_page = kwargs.get('instance')
    language = kwargs.get('language')
    public_page = draft_page.publisher_public
    if self.page_extensions:
        self._copy_page_extensions(draft_page, public_page, language, clone=False)
        self._remove_orphaned_page_extensions()
    if self.title_extensions:
        self._copy_title_extensions(draft_page, None, language, clone=False)
        self._remove_orphaned_title_extensions()
