/** * @internal * @param string $relative_path */ protected function init_with_relative_path($relative_path) { $this->abs_url = home_url($relative_path); $file_path = URLHelper::get_full_path($relative_path); $this->file_loc = $file_path; $this->file = $file_path; }