
// Plugins // Domain Check
Hooks
wp24_domaincheck_whois_resultManipulate the array whois result: domain, tld, status, text, price, link.
E.g. change the price and purchase link for some TLDs:
function change_whois_result( $whois_result ) { if ( in_array( $whois_result['tld'], array( 'com', 'net' ) ) ) { $whois_result['price'] = '4.99$'; $whois_result['link'] = 'https://wp24.org/buy.php?d=[domain]&t=[tld]'; } return $whois_result; } add_filter( 'wp24_domaincheck_whois_result', 'change_whois_result' );