WC_Auth::get_formatted_url( string $url )
Decode and format a URL.
Description Description
Parameters Parameters
- $url
-
(Required) URL.
Return Return
(string)
Source Source
File: includes/class-wc-auth.php
protected function get_formatted_url( $url ) { $url = urldecode( $url ); if ( ! strstr( $url, '://' ) ) { $url = 'https://' . $url; } return $url; }