call our get shortcodes function, comment out foreach for the moment.
move function back outside the class