Check if StagShortcodes variable is available

It generated an error on wp_editor when used anywhere else except of
posts page.
Complete missing parts in stag_social shortcode