...
Code Block | ||
---|---|---|
| ||
<?php function smartnic_addYears () { return [ $AddYearsArray = array ( "DOMAIN_ID_2" => "1", // adds one year to the given domain id "DOMAIN_ID_1" => "-2", // removes 2 years from the given domain id );]; } |
Note that you need to replace "DOMAIN_ID_X" with domain id which can be found at the browser bar:
...