function init_with_url($url) { $this->abs_url = $url; $this->file_loc = $url; if (TimberHelper::is_local($url)) { $this->file = ABSPATH . TimberHelper::get_rel_url($url); } }
function init_with_url($url) { $this->abs_url = $url; $this->file_loc = $url; if (TimberHelper::is_local($url)) { $this->file = ABSPATH . TimberHelper::get_rel_url($url); } }