jQuery(function( $ ) { /** * Setup tooltips as objects in an array. * @param string slug How the AdminHelp class identifies the tooltip * @param array selector Array of css selectors for the items the tooltip * should be attached to * @param string content Content to be displayed in the tooltip */ adminHelp.add([ { slug: 'addplugin', selector: [ '.add-new-h2' ], content: adminhelp_content.addplugin } ]); });