PluginProbe
TableKit – WordPress Table Builder for Data Tables, WooCommerce Product Tables & Post Tables / 2.2.10
TableKit – WordPress Table Builder for Data Tables, WooCommerce Product Tables & Post Tables v2.2.10
2.3.0 2.2.14 2.2.13 2.2.12 2.2.11 2.2.10 2.2.9 2.2.8 2.2.7 2.2.6 2.2.5 2.2.4 2.2.3 trunk 1.0.0 1.0.1 2.0.0 2.0.1 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2
table-builder-block / includes / Libs / UtilityPackages.php

UtilityPackages.php in TableKit – WordPress Table Builder for Data Tables, WooCommerce Product Tables & Post Tables 2.2.10, at includes/Libs/UtilityPackages.php

142 lines 7.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Integration with Wpmet's shared UtilityPackage (cross-promotion admin menu)
4 *
5 * @package TableKit
6 */
7
8 namespace TableBuilder\Libs;
9
10 defined( 'ABSPATH' ) || exit;
11
12 use TableBuilderScopedDeps\Wpmet\UtilityPackage;
13
14 /**
15 * Registers the Wpmet cross-promotion admin menu.
16 */
17 class UtilityPackages {
18
19
20 use \TableBuilder\Traits\Singleton;
21
22 /**
23 * UtilityPackages class constructor.
24 *
25 * @return void
26 */
27 public function __construct() {
28 add_action( 'init', array( $this, 'register_cross_promotion_menu' ) );
29 }
30
31 /**
32 * Registers the "Our Plugins" cross-promotion submenu, listing Wpmet's
33 * other plugins. Hooked to "init" (rather than passed as an inline
34 * closure) so it stays removable via remove_action() if ever needed.
35 *
36 * @return void
37 */
38 public function register_cross_promotion_menu() {
39 UtilityPackage\Plugins\Plugins::instance()->init( 'table-builder-block' )
40 ->set_parent_menu_slug( 'tablebuilder' )
41 ->set_submenu_name(
42 esc_html__( 'Our Plugins', 'table-builder-block' )
43 )
44 ->set_section_title(
45 esc_html__( 'Take Your WordPress Website To Next Level!', 'table-builder-block' )
46 )
47 ->set_section_description(
48 esc_html__( 'Our diverse range of plugins has every solution for WordPress, Gutenberg, Elementor, and WooCommerce.', 'table-builder-block' )
49 )
50 ->set_items_per_row( 4 )
51 ->set_plugins(
52 array(
53 'elementskit-lite/elementskit-lite.php' => array(
54 'name' => esc_html__( 'ElementsKit', 'table-builder-block' ),
55 'url' => 'https://wordpress.org/plugins/elementskit-lite/',
56 'icon' => 'https://ps.w.org/elementskit-lite/assets/icon-256x256.gif?rev=2518175',
57 'desc' => esc_html__( 'All-in-one Elementor addon trusted by 1 Million+ users, makes your website builder process easier with ultimate freedom.', 'table-builder-block' ),
58 'docs' => 'https://wpmet.com/docs/elementskit/',
59 ),
60 'gutenkit-blocks-addon/gutenkit-blocks-addon.php' => array(
61 'name' => esc_html__( 'GutenKit', 'table-builder-block' ),
62 'url' => 'https://wordpress.org/plugins/gutenkit-blocks-addon/',
63 'icon' => 'https://ps.w.org/gutenkit-blocks-addon/assets/icon-256x256.gif?rev=2518175',
64 'desc' => esc_html__( 'Page Builder Blocks, Patterns, and Templates for Gutenberg Block Editor.', 'table-builder-block' ),
65 'docs' => 'https://wpmet.com/docs/gutenkit/',
66 ),
67 'popup-builder-block/popup-builder-block.php' => array(
68 'name' => esc_html__( 'PopupKit', 'table-builder-block' ),
69 'url' => 'https://wordpress.org/plugins/popup-builder-block/',
70 'icon' => 'https://ps.w.org/popup-builder-block/assets/icon-128x128.png?rev=3330842',
71 'desc' => esc_html__( 'Create stunning popups with ease using our drag-and-drop builder, pre-designed templates, and advanced targeting options.', 'table-builder-block' ),
72 'docs' => 'https://wpmet.com/doc/popupkit/',
73 ),
74 'getgenie/getgenie.php' => array(
75 'name' => esc_html__( 'GetGenie AI', 'table-builder-block' ),
76 'url' => 'https://wordpress.org/plugins/getgenie/',
77 'icon' => 'https://ps.w.org/getgenie/assets/icon-256x256.gif?rev=2798355',
78 'desc' => esc_html__( 'Your personal AI assistant for content and SEO. Write content that ranks on Google with NLP keywords and SERP analysis data.', 'table-builder-block' ),
79 'docs' => 'https://getgenie.ai/docs/',
80 ),
81 'shopengine/shopengine.php' => array(
82 'name' => esc_html__( 'ShopEngine', 'table-builder-block' ),
83 'url' => 'https://wordpress.org/plugins/shopengine/',
84 'icon' => 'https://ps.w.org/shopengine/assets/icon-256x256.gif?rev=2505061',
85 'desc' => esc_html__( 'Complete WooCommerce solution for Elementor to fully customize any pages including cart, checkout, shop page, and so on.', 'table-builder-block' ),
86 'docs' => 'https://wpmet.com/doc/shopengine/',
87 ),
88 'metform/metform.php' => array(
89 'name' => esc_html__( 'MetForm', 'table-builder-block' ),
90 'url' => 'https://wordpress.org/plugins/genie-image-ai/',
91 'icon' => 'https://ps.w.org/metform/assets/icon-256x256.png?rev=2544152',
92 'desc' => esc_html__( 'Drag & drop form builder for Elementor to create contact forms, multi-step forms, and more - smoother, faster, and better!', 'table-builder-block' ),
93 'docs' => 'https://wpmet.com/doc/metform/',
94 ),
95 'emailkit/EmailKit.php' => array(
96 'name' => esc_html__( 'EmailKit', 'table-builder-block' ),
97 'url' => 'https://wordpress.org/plugins/genie-image-ai/',
98 'icon' => 'https://ps.w.org/emailkit/assets/icon-256x256.png?rev=3003571',
99 'desc' => esc_html__( 'Advanced email customizer for WooCommerce and WordPress. Build, customize, and send emails from WordPress to boost your sales!', 'table-builder-block' ),
100 'docs' => 'https://wpmet.com/doc/emailkit/',
101 ),
102 'wp-social/wp-social.php' => array(
103 'name' => esc_html__( 'WP Social', 'table-builder-block' ),
104 'url' => 'https://wordpress.org/plugins/wp-social/',
105 'icon' => 'https://ps.w.org/wp-social/assets/icon-256x256.png?rev=2544214',
106 'desc' => esc_html__( 'Add social share, login, and engagement counter - unified solution for all social media with tons of different styles for your website.', 'table-builder-block' ),
107 'docs' => 'https://wpmet.com/doc/wp-social/',
108 ),
109 'wp-ultimate-review/wp-ultimate-review.php' => array(
110 'name' => esc_html__( 'WP Ultimate Review', 'table-builder-block' ),
111 'url' => 'https://wordpress.org/plugins/wp-ultimate-review/',
112 'icon' => 'https://ps.w.org/wp-ultimate-review/assets/icon-256x256.png?rev=2544187',
113 'desc' => esc_html__( 'Collect and showcase reviews on your website to build brand credibility and social proof with the easiest solution.', 'table-builder-block' ),
114 'docs' => 'https://wpmet.com/doc/wp-ultimate-review/',
115 ),
116 'wp-fundraising-donation/wp-fundraising.php' => array(
117 'name' => esc_html__( 'FundEngine', 'table-builder-block' ),
118 'url' => 'https://wordpress.org/plugins/wp-fundraising-donation/',
119 'icon' => 'https://ps.w.org/wp-fundraising-donation/assets/icon-256x256.png?rev=2544150',
120 'desc' => esc_html__( 'Create fundraising, crowdfunding, and donation websites with PayPal and Stripe payment gateway integration.', 'table-builder-block' ),
121 'docs' => 'https://wpmet.com/doc/fundengine/',
122 ),
123 'blocks-for-shopengine/shopengine-gutenberg-addon.php' => array(
124 'name' => esc_html__( 'Blocks for ShopEngine', 'table-builder-block' ),
125 'url' => 'https://wordpress.org/plugins/blocks-for-shopengine/',
126 'icon' => 'https://ps.w.org/blocks-for-shopengine/assets/icon-256x256.gif?rev=2702483',
127 'desc' => esc_html__( 'All in one WooCommerce solution for Gutenberg! Build your WooCommerce pages in a block editor with full customization.', 'table-builder-block' ),
128 'docs' => 'https://wpmet.com/doc/shopengine/shopengine-gutenberg/',
129 ),
130 'genie-image-ai/genie-image-ai.php' => array(
131 'name' => esc_html__( 'Genie Image', 'table-builder-block' ),
132 'url' => 'https://wordpress.org/plugins/genie-image-ai/',
133 'icon' => 'https://ps.w.org/genie-image-ai/assets/icon-256x256.png?rev=2977297',
134 'desc' => esc_html__( 'AI-powered text-to-image generator for WordPress with OpenAI\'s DALL-E 2 technology to generate high-quality images in one click.', 'table-builder-block' ),
135 'docs' => 'https://getgenie.ai/docs/',
136 ),
137 )
138 )
139 ->call();
140 }
141 }
142