VerifiedURL::statusStr()

Get a string that represents the HTTP code status for a VerifiedURL value

Examples:

  • Verified 200 OK (1 day ago)
  • Verified 301 Moved permanently => https://domain.com/path/ (1 day ago)
  • Error 404 Not Found (3 weeks ago)
  • Not yet verified

Usage

// basic usage
$string = $verifiedURL->statusStr();

// usage with all arguments
$string = $verifiedURL->statusStr($options = []);

Arguments

NameType(s)Description
$options (optional)array bool

Options to adjust what is included, see this method in FieldtypeVerifiedURL for all options.

Return value

string array

See Also


VerifiedURL methods and properties

API reference based on ProcessWire core version 3.0.261