public function urlAdd(string $url, string $action = '-1'): string
    {
        return $this->c::addUrlQueryArgs(['_wpnonce' => wp_create_nonce($action)], $url);
    }
public function urlAdd(string $url, string $action = '-1'): string
    {
        return $this->c::addUrlQueryArgs(['_wpnonce' => wp_create_nonce($action)], $url);
    }
public function urlAdd ( string $ url , string $ action = '-1' ) : string { return $ this -> c :: addUrlQueryArgs ( [ '_wpnonce' => wp_create_nonce ( $ action ) ] , $ url ) ; }
Add an nonce to a URL.

@since 160524 First documented version.

@param string $url    Input URL.
@param string $action Action identifier.

@return string URL w/ an nonce.
Add an nonce to a URL .