Esempio n. 1
0
 /**
  * @internal
  * @param string $url
  * @param string $text
  * @return mixed
  */
 protected function get_archives_link($url, $text)
 {
     $ret = array();
     $ret['text'] = $ret['title'] = $ret['name'] = wptexturize($text);
     $ret['url'] = $ret['link'] = esc_url(TimberURLHelper::prepend_to_url($url, $this->base));
     return $ret;
 }
Esempio n. 2
0
 /**
  * @deprecated
  */
 static function prepend_to_url($url, $path)
 {
     return TimberURLHelper::prepend_to_url($url, $path);
 }