Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
add_category(
'romethemekit_header_footer',
[
'title' => esc_html__('RTMKit Header & Footer', 'rometheme-for-elementor')
]
);
$elements_manager->add_category(
'romethemekit_widgets',
[
'title' => esc_html__('RTMKit General', 'rometheme-for-elementor')
]
);
$elements_manager->add_category(
'romethemekit_widgets_pro',
[
'title' => esc_html__('RTMKit Pro', 'rometheme-for-elementor')
]
);
}
public static function rkit_notice_raw()
{
$btn1 = [
'default_class' => 'button',
'class' => 'button-primary',
'text' => esc_html__('Yes, I Deserve it', 'rometheme-for-elementor'),
'url' => sanitize_url('https://wordpress.org/support/plugin/rometheme-for-elementor/reviews/')
];
$btn2 = [
'default_class' => 'button',
'class' => 'rkit-button-link',
'target' => '_blank',
'text' => esc_html__('I Need Help', 'rometheme-for-elementor'),
'url' => sanitize_url('https://rometheme.net/contact-us/')
];
$message = sprintf(
'%1$s',
'Hi there, Thanks for using RomethemeKit For Elementor. we hope our plugin helpful in building your website. please let us know what you think of RomethemeKit For Elementor by leaving a rating, This would boost our motivation and help other users make a comfortable decision while choosing the RomethemeKit For Elementor.'
);
$logo = \RomeTheme::plugin_url() . 'view/images/rometheme.png';
$rkit_hasbeen_rated = get_user_meta(get_current_user_id(), 'rkit-hasbeen-rated');
?>
'rtmicons',
'label' => esc_html__('RTM Icon - Regular', 'rometheme-for-elementor'),
'url' => \RomeTheme::plugin_url() . 'assets/css/rtmicon-regular.css',
'prefix' => 'rtmicon-',
'displayPrefix' => 'rtmicon',
'labelIcon' => 'rtmicon rtmicon-romethemekit',
'ver' => \RomeTheme::rt_version(),
'fetchJson' => \RomeTheme::plugin_url() . 'assets/js/rtmicon.json',
'native' => true,
);
$font_new['rtmicons-thin'] = array(
'name' => 'rtmicons-thin',
'label' => esc_html__('RTM Icon - Thin', 'rometheme-for-elementor'),
'url' => \RomeTheme::plugin_url() . 'assets/css/rtmicon-thin.css',
'prefix' => 'rtmicon-',
'displayPrefix' => 'rtmicon-thin',
'labelIcon' => 'rtmicon-thin rtmicon-romethemekit',
'ver' => \RomeTheme::rt_version(),
'fetchJson' => \RomeTheme::plugin_url() . 'assets/js/rtmicon-thin.json',
'native' => true,
);
return array_merge($font, $font_new);
}
public static function enqueue_frontend()
{
wp_enqueue_style('elementor-icons-rtmicon', \RomeTheme::plugin_url() . 'assets/css/rtmicons.css', '', \RomeTheme::rt_version());
wp_enqueue_style('rkit-widget-style', \RomeTheme::plugin_url() . 'assets/css/rkit.css', '', \RomeTheme::rt_version());
}
public static function isProActive(){
if (class_exists('RTMKitPro\Modules\Licenses\LicenseStorage')) {
if(\RTMKitPro\Modules\Licenses\LicenseStorage::instance()->isLicenseActive()) {
return true;
} else {
return false;
}
} else {
return false;
}
}
}