if (is_array($globaltemplates)) { if (in_array('links_main', $globaltemplates)) { $globaltemplates[] = 'links_playerbit_WimpyButton'; } }