Hello, I was successfully able to follow your instructions on how to configure my WHMCS installation to provision WordPress installations on successful payment. I was also successfully able to get WordPress Admin Sets to automatically install specific plugins during the installation.
My issue is, I need to be able to specify a specific WordPress set for a specific PID.
Here is what I am currently using (works for all):
PHP Code $GLOBALS['softaculous_conf']['install']['pid'][1] = 'WordPress'; // 1 is the PID and WordPress is the script we want to install
$GLOBALS['softaculous_conf']['install']['pid'][17] = 'WordPress';
$GLOBALS['softaculous_conf']['install']['pid'][18] = 'WordPress';
$GLOBALS['softaculous_conf']['defaults']['sets_name'][] = 'default-set_admin';
I tried this but it does not seem to work:
PHP Code $GLOBALS['softaculous_conf']['defaults']['defaults_by_pid'][1]['sets_name'][] = 'default-set_admin';
Any help would be much appreciated! Thanks.
|