Add_action not calling callback function
In your class, your function is called ‘public function setOption()’ not setOptionS . Check your error log for this kind of issues. Also in your code I don’t see the function ‘socialShareOptions’ actually being called anywhere.