geno/wp-content/plugins/elementor/modules/promotions/admin-menu-items/custom-icons-promotion-item.php
2024-02-01 11:54:18 +00:00

32 lines
854 B
PHP

<?php
namespace Elementor\Modules\Promotions\AdminMenuItems;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Custom_Icons_Promotion_Item extends Base_Promotion_Item {
public function get_label() {
return esc_html__( 'Custom Icons', 'elementor' );
}
public function get_page_title() {
return esc_html__( 'Custom Icons', 'elementor' );
}
public function get_promotion_title() {
return esc_html__( 'Add Your Custom Icons', 'elementor' );
}
public function render_promotion_description() {
echo esc_html__(
'Don\'t rely solely on the FontAwesome icons everyone else is using! Differentiate your website and your style with custom icons you can upload from your favorite icons source.',
'elementor'
);
}
public function get_cta_url() {
return 'https://go.elementor.com/go-pro-custom-icons/';
}
}