What Works
- My custom wordpress package installs everything as it should and works
- I called this custom script as it's softname wpelementorvip
What Have I Done?
- I have added custom field to it called Script and set the Select Options field to Elementor VIP and as a Drop Down
- I have added my custom script to softaculous_extra to /path/to/whmcs/includes/hooks/ which you can find my php below (it's the correct ID as well)
PHP Code $GLOBALS['add_softaculous_scripts'] = array(
10001 => array('name' => 'Elementor VIP',
'softname' => 'wpelementorvip',
'desc' => 'WordPress Elementor VIP Package, filled with licensed pro plugins.',
'ins' => 1,
'cat' => 'blogs',
'type' => 'php',
'ver' => '5.1.1'
)
);
What Doesn't Work
Upon purchase and after selection of the Drop Down, it installs default wordpress. It does not install my custom script package.
|