<?php

declare(strict_types=1);

namespace Numinix\SeekmodoWordPress\Elementor\Widgets;

if (!class_exists(\Elementor\Widget_Base::class)) {
    return;
}

final class RecommendWidget extends AbstractSeekmodoWidget
{
    public function get_name()
    {
        return 'seekmodo-recommend';
    }

    public function get_title()
    {
        return function_exists('esc_html__')
            ? esc_html__('Seekmodo Recommendations', 'seekmodo')
            : 'Seekmodo Recommendations';
    }

    public function get_icon()
    {
        return 'eicon-products';
    }

    protected function elementSlug(): string
    {
        return 'recommend';
    }
}
