Quote:
Originally Posted by tamaracks
Is it possible to have icons on the menu listing of the chain variations?
|
Yes, as
documented here, you can do it by specifying the icon name as the fourth argument.
Code:
program:
add_chain_variant('second variant','argument2', 'submenu1', 'icon.png')
If you don't want a submenu, put an empty string:
Code:
program:
add_chain_variant('second variant','argument2', '', 'icon.png')