fix_possible_url

Description

Internal function to change standard URLs into queryless URLs.

Syntax

string fix_possible_url (string $val)



Parameter $val

Expected type: String
Description: A possible URL



Return value

Expected type: String
Description: $val (either the original value or the "fixed" version - see notes for specifics)


Notes

  • Called on any value that might be a URL (hence the "possible" part)
  • Returns the original value if one of the following is true: Value isn't a URL (doesn't contain the board URL), queryless URLs isn't enabled or your server doesn't support that feature
Advertisement: