Elementor\TemplateLibrary\Source_Remote::get_item PHP Method

get_item() public method

public get_item ( array $template_data ) : array
$template_data array
return array
    public function get_item($template_data)
    {
        return ['template_id' => $template_data['id'], 'source' => $this->get_id(), 'title' => $template_data['title'], 'thumbnail' => $template_data['thumbnail'], 'date' => date(get_option('date_format'), $template_data['tmpl_created']), 'author' => $template_data['author'], 'categories' => [], 'keywords' => [], 'url' => $template_data['url']];
    }