Developer Center

ModifyTransferLock() - Transfer Lock Update

It is used to update the transfer lock status of the domain name.

public function ModifyTransferLock($params=[],$status=''){
    $domain     = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);

    $modify     = $this->api->modify_transfer_lock($domain,$status == "enable" ? "locked" : "unlocked");
    if(!$modify){
        $this->error = $this->api->error;
        return false;
    }
    return true;
}

Parameters;

  • $params Provides the value of [options] index in the $order variable in the class.
  • $status information of the status to be updated, e.g. lock enabled, lock disabled

Retrieval Value;

Boolean (true or false)

getTransferLock() - Transfer Lock Status isInactive() - Domain Name Inactive Control

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top