Custom menu items - open in new window

Re: Re: Re: Custom menu items - open in new window

por Gareth J Barnard -
Número de respostas: 0
Imagem de Core developers Imagem de Particularly helpful Moodlers Imagem de Plugin developers
Dear Lee,

Sorry, your solution is wrong. You need to add 'target' => '_blank' to the existing array instead of putting it in a new one and pushing the existing array to the fourth parameter of the method and therefore removing its elements from the attributes of the tag that the html_writer produces.

G