Replace get_media_path for CMSPlugin's implementation. Reduces redundancy and allows plugin to be used in placeholder fields outside CMS pages.