@ Josh Taylor
I just dropped the exact code in the Connections plugin file, at the end and it worked. Well, after I purged the page cache.