Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
<?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:

...