plugin.xml, other common attributes

Options and functions

The files for the options and functions provided by the plugin are declared directly within the plugin.xml file using the options and fonctions attributes:

  1. <options>porte_plume_options.php</options>
  2. <fonctions>inc/barre_outils.php</fonctions>
  3. <fonctions>autre_fichier.php</fonctions>


Several function files may be loaded if necessary by listing them in succession.

Documentation link

The lien attribute is used to provide an address for documentation about the plugin:

  1. <lien></lien>

Plugin icon

The icon attribute is used to specify an image to be used to visually represent the plugin:

  1. <icon>imgs/logo-bugs.png</icon>

Author Mark Baber Published : Updated : 02/06/10

Translations : English, français