Share on social media created listing after submission

The easiest way to accomplish this might be to use a plugin that includes a shortcode (say, Jetpack), and then include that shortcode in the output within case 'publish'.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)