Site icon Hip-Hop Website Design and Development

Plugin with connection to database – Single perform

I am creating a private plugin with extra information and I would like to hook up with an exterior database with WPDB. In the meanwhile I am repeating “new wpdb(…)” in each perform, in each file, of my plugin. Is there any technique to put this instruction simply ONE time?