'advgb/countdown',
'icon' => '',
'title' => __('Countdown', 'advanced-gutenberg'),
'description' => __('Easily create a customizable countdown.', 'advanced-gutenberg'),
'category' => 'advgb-category',
'iconColor' => '#655997',
'isPro' => true
];
$pro_blocks_details[] = [
'name' => 'advgb/pricing-table',
'icon' => '',
'title' => __('Pricing Table', 'advanced-gutenberg'),
'description' => __('Easily create a customizable pricing table.', 'advanced-gutenberg'),
'category' => 'advgb-category',
'iconColor' => '#655997',
'isPro' => true
];
$pro_blocks_details[] = [
'name' => 'advgb/feature',
'icon' => '',
'title' => __('Feature', 'advanced-gutenberg'),
'description' => __('Use block to create a list inside the Feature List" block.', 'advanced-gutenberg'),
'category' => 'advgb-category',
'parent' => ['advgb/feature-list'],
'iconColor' => '#655997',
'isPro' => true
];
$pro_blocks_details[] = [
'name' => 'advgb/feature-list',
'icon' => '',
'title' => __('Feature List', 'advanced-gutenberg'),
'description' => __('Use block to create a list inside the Feature List" block.', 'advanced-gutenberg'),
'category' => 'advgb-category',
'iconColor' => '#655997',
'isPro' => true
];
return $pro_blocks_details;
}
public static function isProActive() {
$proActive = defined('ADVANCED_GUTENBERG_PRO_LOADED');
return $proActive;
}
/**
* Load tooltip JS and CSS for admin pages
*
* @return void
* @since 3.0.0
*/
public static function enqueueToolTipsAssets()
{
wp_enqueue_style(
'ppb-tooltips-css',
ADVANCED_GUTENBERG_PLUGIN_DIR_URL . 'assets/lib/pp-tooltips/css/tooltip.min.css',
[],
ADVANCED_GUTENBERG_VERSION
);
wp_enqueue_script(
'ppb-tooltips-js',
ADVANCED_GUTENBERG_PLUGIN_DIR_URL . 'assets/lib/pp-tooltips/js/tooltip.min.js',
[],
ADVANCED_GUTENBERG_VERSION,
true
);
}
}
}