PluginProbe ʕ •ᴥ•ʔ
Jetpack – WP Security, Backup, Speed, & Growth / trunk
Jetpack – WP Security, Backup, Speed, & Growth vtrunk
16.2-a.3 16.1.2 16.2-a.1 16.1.1 16.1 16.1-beta 16.1-beta.2 16.1-beta.3 16.1-a.5 16.1-a.3 16.0.1 16.1-a.1 16.0 16.0-beta 16.0-a.7 16.0-a.5 15.9.1 16.0-a.3 16.0-a.1 15.9 15.9-beta 15.9-a.7 15.9-a.5 15.9-a.3 15.9-a.1 15.8 15.8-beta 15.8-a.7 15.8-a.5 5.2.5 5.3.4 5.4.4 5.5.5 5.6.5 5.7.5 5.8.4 5.9.4 6.0.4 6.1 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.3 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.4 6.4.1 6.4.2 6.4.3 6.4.4 6.4.5 6.4.6 6.5 6.5.1 6.5.2 6.5.3 6.5.4 6.6 6.6.1 6.6.2 6.6.3 6.6.4 6.6.5 6.7 6.7.1 6.7.2 6.7.3 6.7.4 6.8 6.8.1 6.8.2 6.8.3 6.8.4 6.8.5 6.9 6.9.1 6.9.2 6.9.3 6.9.4 7.0 7.0.1 7.0.2 7.0.3 7.0.4 7.0.5 7.1 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.2 7.2.1 7.2.1.1 7.2.2 7.2.3 7.2.4 7.2.5 7.3 7.3.0.1 7.3.1 7.3.1.1 7.3.2 7.3.3 7.3.4 7.3.5 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.5 7.5.0.1 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.5.6 7.5.7 7.6 7.6.1 7.6.2 7.6.3 7.6.4 7.7 7.7.1 7.7.2 7.7.3 7.7.4 7.7.5 7.7.6 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.9 7.9.1 7.9.2 7.9.3 7.9.4 8.0 8.0.1 8.0.2 8.0.3 8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.2 8.2.0.1 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.2.6 8.3 8.3.1 8.3.2 8.3.3 8.4 8.4.1 8.4.2 8.4.3 8.4.4 8.4.5 8.5 8.5.1 8.5.2 8.5.3 8.6 8.6.1 8.6.2 8.6.3 8.6.4 8.7 8.7.0.1 8.7.1 8.7.2 8.7.3 8.7.4 8.8 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.9 8.9.1 8.9.2 8.9.3 8.9.4 9.0 9.0.1 9.0.2 9.0.3 9.0.4 9.0.5 9.1 9.1.1 9.1.2 9.1.3 9.2 9.2.1 9.2.2 9.2.3 9.2.4 9.3 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.4 9.4.1 9.4.2 9.4.3 9.4.4 9.5 9.5.1 9.5.2 9.5.3 9.5.4 9.5.5 9.6 9.6.1 9.6.2 9.6.3 9.6.4 9.7 9.7.1 9.7.2 15.7-beta.2 9.7.3 15.7.1 9.8 15.8-a.1 9.8.1 15.8-a.3 9.8.2 2.0.9 9.8.3 2.1.7 9.9 2.2.10 9.9.1 2.3.10 9.9.2 2.4.7 9.9.3 2.5.5 2.6.6 2.7.5 2.8.5 2.9.6 3.0.6 3.1.5 3.2.5 3.3.6 3.4.6 3.5.6 3.6.4 3.7.5 3.8.5 3.9.10 4.0.7 4.1.4 4.2.5 4.3.5 4.4.5 4.5.3 4.6.3 4.7.4 4.8.5 4.9.3 5.0.3 5.1.4 trunk 10.0 10.0.1 10.0.2 10.1 10.1.1 10.1.2 10.2 10.2.1 10.2.2 10.2.3 10.3 10.3.1 10.3.2 10.4 10.4.1 10.4.2 10.5 10.5.1 10.5.2 10.5.3 10.6 10.6.1 10.6.2 10.7 10.7.1 10.7.2 10.8 10.8.1 10.8.2 10.9 10.9.1 10.9.2 10.9.3 11.0 11.0.1 11.0.2 11.1 11.1.1 11.1.2 11.1.3 11.1.4 11.2 11.2.1 11.2.2 11.3 11.3.1 11.3.2 11.3.3 11.3.4 11.4 11.4.1 11.4.2 11.5 11.5.1 11.5.2 11.5.3 11.6 11.6.1 11.6.2 11.7 11.7.1 11.7.2 11.7.3 11.8 11.8.3 11.8.4 11.8.5 11.8.6 11.9 11.9.1 11.9.2 11.9.3 12.0 12.0.1 12.0.2 12.1 12.1.1 12.1.2 12.2 12.2.1 12.2.2 12.3 12.3.1 12.4 12.4.1 12.5 12.5.1 12.6 12.6.1 12.6.2 12.6.3 12.7 12.7.1 12.7.2 12.8 12.8.1 12.8.2 12.9 12.9.1 12.9.2 12.9.3 12.9.4 13.0 13.0.1 13.1 13.1.1 13.1.2 13.1.3 13.1.4 13.2 13.2.1 13.2.2 13.2.3 13.3 13.3.1 13.3.2 13.4 13.4.1 13.4.2 13.4.3 13.4.4 13.5 13.5.1 13.6 13.6.1 13.7 13.7.1 13.8 13.8.1 13.8.2 13.9 13.9.1 14.0 14.1 14.2 14.2.1 14.3 14.4 14.4.1 14.5 14.6 14.7 14.8 14.9 14.9.1 15.0 15.0.1 15.0.2 15.1 15.1.1 15.2 15.3 15.3.1 15.4 15.5 15.6 15.7 15.7-a.1 15.7-a.3 15.7-a.5 15.7-a.7 15.7-beta
jetpack / modules / module-headings.php
jetpack / modules Last commit date
canonical-urls 5 months ago carousel 3 weeks ago comment-likes 9 months ago comments 6 days ago custom-post-types 2 months ago external-media 9 months ago google-fonts 2 months ago gravatar 6 years ago infinite-scroll 2 months ago likes 1 week ago markdown 3 months ago memberships 2 weeks ago photon-cdn 1 month ago plugin-search 3 months ago post-by-email 9 months ago related-posts 1 month ago scan 5 months ago seo-tools 1 week ago sharedaddy 1 week ago shortcodes 1 month ago shortlinks 2 months ago simple-payments 9 months ago site-icon 9 months ago sitemaps 1 week ago stats 8 months ago subscriptions 1 month ago theme-tools 3 weeks ago tiled-gallery 2 months ago verification-tools 3 months ago videopress 1 month ago widget-visibility 3 months ago widgets 2 weeks ago woocommerce-analytics 4 months ago wordads 2 months ago wpcom-tos 8 months ago account-protection.php 4 months ago ai.php 6 days ago blaze.php 9 months ago blocks.php 9 months ago canonical-urls.php 6 months ago carousel.php 9 months ago comment-likes.php 1 week ago comments.php 6 days ago contact-form.php 9 months ago copy-post.php 3 months ago custom-content-types.php 4 months ago google-fonts.php 4 months ago gravatar-hovercards.php 3 months ago infinite-scroll.php 9 months ago json-api.php 9 months ago latex.php 3 months ago likes.php 1 week ago markdown.php 9 months ago module-extras.php 3 weeks ago module-headings.php 6 days ago module-info.php 6 months ago monitor.php 2 months ago notes.php 1 month ago photon-cdn.php 9 months ago photon.php 9 months ago plugin-search.php 3 weeks ago podcast.php 1 month ago post-by-email.php 4 months ago post-list.php 9 months ago protect.php 4 months ago publicize.php 9 months ago related-posts.php 3 months ago search.php 9 months ago seo-tools.php 2 months ago sharedaddy.php 6 months ago shortcodes.php 9 months ago shortlinks.php 3 months ago simple-payments.php 9 months ago sitemaps.php 9 months ago sso.php 2 months ago stats.php 1 month ago subscriptions.php 1 month ago theme-tools.php 9 months ago tiled-gallery.php 9 months ago vaultpress.php 9 months ago verification-tools.php 4 months ago videopress.php 9 months ago waf.php 9 months ago widget-visibility.php 9 months ago widgets.php 9 months ago woocommerce-analytics.php 9 months ago wordads.php 9 months ago wpcom-reader.php 6 months ago wpgroho.js 1 year ago
module-headings.php
1288 lines
1 <?php
2 /**
3 * Do not edit this file. It's generated by `jetpack/tools/build-module-headings-translations.php`.
4 *
5 * @package automattic/jetpack
6 */
7
8 /**
9 * For a given module, return an array with translated name and description.
10 *
11 * @param string $key Module file name without `.php`.
12 *
13 * @return array|null
14 */
15 function jetpack_get_module_i18n( $key ) {
16 static $modules;
17 if ( ! isset( $modules ) ) {
18 $modules = array(
19 'account-protection' => array(
20 'name' => _x( 'Account Protection', 'Module Name', 'jetpack' ),
21 'description' => _x( 'Shield your login page with rate‑limiting and secure authentication safeguards.', 'Module Description', 'jetpack' ),
22 ),
23
24 'ai' => array(
25 'name' => _x( 'AI', 'Module Name', 'jetpack' ),
26 'description' => _x( 'Turn your ideas into ready-to-publish content and generate images with the power of AI.', 'Module Description', 'jetpack' ),
27 ),
28
29 'blaze' => array(
30 'name' => _x( 'Blaze', 'Module Name', 'jetpack' ),
31 'description' => _x( 'Promote your posts and pages across millions of sites in the WordPress.com and Tumblr ad network.', 'Module Description', 'jetpack' ),
32 ),
33
34 'blocks' => array(
35 'name' => _x( 'Blocks', 'Module Name', 'jetpack' ),
36 'description' => _x( 'Expand your editor with custom Jetpack blocks for rich content and layout options.', 'Module Description', 'jetpack' ),
37 ),
38
39 'canonical-urls' => array(
40 'name' => _x( 'Canonical URLs', 'Module Name', 'jetpack' ),
41 'description' => _x( 'Add canonical URL tags to archive pages to prevent duplicate content in search engines.', 'Module Description', 'jetpack' ),
42 ),
43
44 'carousel' => array(
45 'name' => _x( 'Carousel', 'Module Name', 'jetpack' ),
46 'description' => _x( 'Turn your image galleries into immersive, full‑screen slideshows.', 'Module Description', 'jetpack' ),
47 ),
48
49 'comment-likes' => array(
50 'name' => _x( 'Comment Likes', 'Module Name', 'jetpack' ),
51 'description' => _x( 'Enable visitors to like individual comments and boost engagement.', 'Module Description', 'jetpack' ),
52 ),
53
54 'comments' => array(
55 'name' => _x( 'Comments', 'Module Name', 'jetpack' ),
56 'description' => _x( 'Replace the default comment form with a modern, feature‑rich alternative.', 'Module Description', 'jetpack' ),
57 ),
58
59 'contact-form' => array(
60 'name' => _x( 'Forms', 'Module Name', 'jetpack' ),
61 'description' => _x( 'Add contact, registration, and feedback forms directly from the block editor.', 'Module Description', 'jetpack' ),
62 ),
63
64 'copy-post' => array(
65 'name' => _x( 'Copy Post', 'Module Name', 'jetpack' ),
66 'description' => _x( 'Duplicate any post or page in one click to speed up content creation.', 'Module Description', 'jetpack' ),
67 ),
68
69 'custom-content-types' => array(
70 'name' => _x( 'Custom Content Types', 'Module Name', 'jetpack' ),
71 'description' => _x( 'Display different types of content on your site with custom content types.', 'Module Description', 'jetpack' ),
72 ),
73
74 'google-fonts' => array(
75 'name' => _x( 'Google Fonts (Beta)', 'Module Name', 'jetpack' ),
76 'description' => _x( 'This feature is now supported natively in WordPress when using any block theme. To use Google Fonts, refer to the WordPress.org Font Library documentation.', 'Module Description', 'jetpack' ),
77 ),
78
79 'gravatar-hovercards' => array(
80 'name' => _x( 'Gravatar Hovercards', 'Module Name', 'jetpack' ),
81 'description' => _x( 'Show a user’s Gravatar profile when visitors hover over their name or image.', 'Module Description', 'jetpack' ),
82 ),
83
84 'infinite-scroll' => array(
85 'name' => _x( 'Infinite Scroll', 'Module Name', 'jetpack' ),
86 'description' => _x( 'Automatically load new posts as visitors scroll down your site.', 'Module Description', 'jetpack' ),
87 ),
88
89 'json-api' => array(
90 'name' => _x( 'JSON API', 'Module Name', 'jetpack' ),
91 'description' => _x( 'Access your site’s data remotely through the WordPress.com REST API.', 'Module Description', 'jetpack' ),
92 ),
93
94 'latex' => array(
95 'name' => _x( 'Beautiful Math', 'Module Name', 'jetpack' ),
96 'description' => _x( 'Add beautifully formatted math equations to your posts and pages using LaTeX.', 'Module Description', 'jetpack' ),
97 ),
98
99 'likes' => array(
100 'name' => _x( 'Likes', 'Module Name', 'jetpack' ),
101 'description' => _x( 'Let readers like your posts to show appreciation and encourage interaction.', 'Module Description', 'jetpack' ),
102 ),
103
104 'markdown' => array(
105 'name' => _x( 'Markdown', 'Module Name', 'jetpack' ),
106 'description' => _x( 'Write and format posts using clean, readable Markdown syntax.', 'Module Description', 'jetpack' ),
107 ),
108
109 'monitor' => array(
110 'name' => _x( 'Downtime Monitor', 'Module Name', 'jetpack' ),
111 'description' => _x( 'Get instant alerts if your site goes down and know when it’s back online.', 'Module Description', 'jetpack' ),
112 ),
113
114 'notes' => array(
115 'name' => _x( 'Notifications', 'Module Name', 'jetpack' ),
116 'description' => _x( 'Receive real‑time notifications about site activity across your devices.', 'Module Description', 'jetpack' ),
117 ),
118
119 'photon-cdn' => array(
120 'name' => _x( 'Asset CDN', 'Module Name', 'jetpack' ),
121 'description' => _x( 'Serve static files like CSS and JS from Jetpack’s global CDN for faster load times.', 'Module Description', 'jetpack' ),
122 ),
123
124 'photon' => array(
125 'name' => _x( 'Image CDN', 'Module Name', 'jetpack' ),
126 'description' => _x( 'Deliver images quickly with automatic resizing from Jetpack’s global image CDN.', 'Module Description', 'jetpack' ),
127 ),
128
129 'podcast' => array(
130 'name' => _x( 'Podcast', 'Module Name', 'jetpack' ),
131 'description' => _x( 'Publish, manage, and grow your podcast right from your site.', 'Module Description', 'jetpack' ),
132 ),
133
134 'post-by-email' => array(
135 'name' => _x( 'Post by Email', 'Module Name', 'jetpack' ),
136 'description' => _x( 'Publish blog posts simply by sending an email to a custom address.', 'Module Description', 'jetpack' ),
137 ),
138
139 'post-list' => array(
140 'name' => _x( 'Post List', 'Module Name', 'jetpack' ),
141 'description' => _x( 'Display a customizable list of your latest posts anywhere on your site.', 'Module Description', 'jetpack' ),
142 ),
143
144 'protect' => array(
145 'name' => _x( 'Brute Force Protection', 'Module Name', 'jetpack' ),
146 'description' => _x( 'Block malicious login attempts automatically and keep hackers out.', 'Module Description', 'jetpack' ),
147 ),
148
149 'publicize' => array(
150 'name' => _x( 'Jetpack Social', 'Module Name', 'jetpack' ),
151 'description' => _x( 'Auto‑share your posts to social networks and track engagement in one place.', 'Module Description', 'jetpack' ),
152 ),
153
154 'related-posts' => array(
155 'name' => _x( 'Related Posts', 'Module Name', 'jetpack' ),
156 'description' => _x( 'Automatically display related articles to keep visitors reading longer.', 'Module Description', 'jetpack' ),
157 ),
158
159 'search' => array(
160 'name' => _x( 'Search', 'Module Name', 'jetpack' ),
161 'description' => _x( 'Instantly deliver the most relevant results to your visitors.', 'Module Description', 'jetpack' ),
162 ),
163
164 'seo-tools' => array(
165 'name' => _x( 'SEO Tools', 'Module Name', 'jetpack' ),
166 'description' => _x( 'Optimize titles, meta descriptions, and social previews for better search results.', 'Module Description', 'jetpack' ),
167 ),
168
169 'sharedaddy' => array(
170 'name' => _x( 'Sharing', 'Module Name', 'jetpack' ),
171 'description' => _x( 'Add customizable share buttons so visitors can spread your content.', 'Module Description', 'jetpack' ),
172 ),
173
174 'shortcodes' => array(
175 'name' => _x( 'Shortcode Embeds', 'Module Name', 'jetpack' ),
176 'description' => _x( 'Easily embed rich media like YouTube videos and tweets using simple shortcodes.', 'Module Description', 'jetpack' ),
177 ),
178
179 'shortlinks' => array(
180 'name' => _x( 'WP.me Shortlinks', 'Module Name', 'jetpack' ),
181 'description' => _x( 'Share short, easy-to-remember links to your posts and pages.', 'Module Description', 'jetpack' ),
182 ),
183
184 'sitemaps' => array(
185 'name' => _x( 'Sitemaps', 'Module Name', 'jetpack' ),
186 'description' => _x( 'Generate XML sitemaps so search engines can index your site efficiently.', 'Module Description', 'jetpack' ),
187 ),
188
189 'sso' => array(
190 'name' => _x( 'Secure Sign On', 'Module Name', 'jetpack' ),
191 'description' => _x( 'Let users log in with their WordPress.com account for quick, secure access.', 'Module Description', 'jetpack' ),
192 ),
193
194 'stats' => array(
195 'name' => _x( 'Jetpack Stats', 'Module Name', 'jetpack' ),
196 'description' => _x( 'Clear, concise traffic insights right in your WordPress dashboard.', 'Module Description', 'jetpack' ),
197 ),
198
199 'subscriptions' => array(
200 'name' => _x( 'Newsletter', 'Module Name', 'jetpack' ),
201 'description' => _x( 'Grow your subscriber list and deliver your content directly to their email inbox.', 'Module Description', 'jetpack' ),
202 ),
203
204 'tiled-gallery' => array(
205 'name' => _x( 'Tiled Galleries', 'Module Name', 'jetpack' ),
206 'description' => _x( 'Create visually engaging tiled image galleries with multiple layout options.', 'Module Description', 'jetpack' ),
207 ),
208
209 'vaultpress' => array(
210 'name' => _x( 'VaultPress Backup', 'Module Name', 'jetpack' ),
211 'description' => _x( 'Real-time backups save every change, and one-click restores get you back online quickly.', 'Module Description', 'jetpack' ),
212 ),
213
214 'verification-tools' => array(
215 'name' => _x( 'Site Verification', 'Module Name', 'jetpack' ),
216 'description' => _x( 'Verify your site with search engines and social platforms in a couple of clicks.', 'Module Description', 'jetpack' ),
217 ),
218
219 'videopress' => array(
220 'name' => _x( 'VideoPress', 'Module Name', 'jetpack' ),
221 'description' => _x( 'Powerful and flexible video hosting.', 'Module Description', 'jetpack' ),
222 ),
223
224 'waf' => array(
225 'name' => _x( 'Firewall', 'Module Name', 'jetpack' ),
226 'description' => _x( 'Filter malicious traffic in real time with Jetpack’s site firewall.', 'Module Description', 'jetpack' ),
227 ),
228
229 'widget-visibility' => array(
230 'name' => _x( 'Widget Visibility', 'Module Name', 'jetpack' ),
231 'description' => _x( 'Choose which widgets appear on specific pages or posts with advanced controls.', 'Module Description', 'jetpack' ),
232 ),
233
234 'widgets' => array(
235 'name' => _x( 'Extra Sidebar Widgets', 'Module Name', 'jetpack' ),
236 'description' => _x( 'Add more widget options to your site, like social feeds, subscriptions, and more.', 'Module Description', 'jetpack' ),
237 ),
238
239 'woocommerce-analytics' => array(
240 'name' => _x( 'WooCommerce Analytics', 'Module Name', 'jetpack' ),
241 'description' => _x( 'Get actionable insights on your store’s orders, revenue, and customers.', 'Module Description', 'jetpack' ),
242 ),
243
244 'wordads' => array(
245 'name' => _x( 'Ads', 'Module Name', 'jetpack' ),
246 'description' => _x( 'Earn revenue by displaying high‑quality ads on your site.', 'Module Description', 'jetpack' ),
247 ),
248
249 'wpcom-reader' => array(
250 'name' => _x( 'WordPress.com Reader', 'Module Name', 'jetpack' ),
251 'description' => _x( 'Quickly access the WordPress.com Reader from your site\'s admin bar.', 'Module Description', 'jetpack' ),
252 ),
253 );
254 }
255 return $modules[ $key ] ?? null;
256 }
257
258 /**
259 * For a given module tag, return its translated version.
260 *
261 * @param string $key Module tag as is in each module heading.
262 *
263 * @return string
264 */
265 function jetpack_get_module_i18n_tag( $key ) {
266 static $module_tags;
267 if ( ! isset( $module_tags ) ) {
268 $module_tags = array(
269 // Modules with `Other` tag:
270 // - modules/contact-form.php
271 // - modules/notes.php
272 // - modules/woocommerce-analytics.php
273 'Other' => _x( 'Other', 'Module Tag', 'jetpack' ),
274
275 // Modules with `Account Protection` tag:
276 // - modules/account-protection.php
277 'Account Protection' => _x( 'Account Protection', 'Module Tag', 'jetpack' ),
278
279 // Modules with `Writing` tag:
280 // - modules/ai.php
281 // - modules/copy-post.php
282 // - modules/custom-content-types.php
283 // - modules/json-api.php
284 // - modules/latex.php
285 // - modules/markdown.php
286 // - modules/podcast.php
287 // - modules/post-by-email.php
288 // - modules/shortcodes.php
289 'Writing' => _x( 'Writing', 'Module Tag', 'jetpack' ),
290
291 // Modules with `Traffic` tag:
292 // - modules/blaze.php
293 // - modules/canonical-urls.php
294 // - modules/sitemaps.php
295 // - modules/wordads.php
296 'Traffic' => _x( 'Traffic', 'Module Tag', 'jetpack' ),
297
298 // Modules with `Social` tag:
299 // - modules/blaze.php
300 // - modules/comment-likes.php
301 // - modules/comments.php
302 // - modules/gravatar-hovercards.php
303 // - modules/likes.php
304 // - modules/publicize.php
305 // - modules/seo-tools.php
306 // - modules/sharedaddy.php
307 // - modules/shortcodes.php
308 // - modules/shortlinks.php
309 // - modules/subscriptions.php
310 // - modules/widgets.php
311 // - modules/wpcom-reader.php
312 'Social' => _x( 'Social', 'Module Tag', 'jetpack' ),
313
314 // Modules with `blocks` tag:
315 // - modules/blocks.php
316 'blocks' => _x( 'blocks', 'Module Tag', 'jetpack' ),
317
318 // Modules with `Photos and Videos` tag:
319 // - modules/carousel.php
320 // - modules/photon-cdn.php
321 // - modules/photon.php
322 // - modules/shortcodes.php
323 // - modules/tiled-gallery.php
324 // - modules/videopress.php
325 'Photos and Videos' => _x( 'Photos and Videos', 'Module Tag', 'jetpack' ),
326
327 // Modules with `Fonts` tag:
328 // - modules/google-fonts.php
329 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ),
330
331 // Modules with `Recommended` tag:
332 // - modules/google-fonts.php
333 // - modules/monitor.php
334 // - modules/photon-cdn.php
335 // - modules/photon.php
336 // - modules/protect.php
337 // - modules/publicize.php
338 // - modules/related-posts.php
339 // - modules/sharedaddy.php
340 // - modules/sitemaps.php
341 // - modules/stats.php
342 // - modules/woocommerce-analytics.php
343 'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ),
344
345 // Modules with `Appearance` tag:
346 // - modules/gravatar-hovercards.php
347 // - modules/infinite-scroll.php
348 // - modules/photon-cdn.php
349 // - modules/photon.php
350 // - modules/seo-tools.php
351 // - modules/shortcodes.php
352 // - modules/widget-visibility.php
353 // - modules/widgets.php
354 // - modules/wordads.php
355 'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ),
356
357 // Modules with `Developers` tag:
358 // - modules/json-api.php
359 // - modules/sso.php
360 'Developers' => _x( 'Developers', 'Module Tag', 'jetpack' ),
361
362 // Modules with `Admin` tag:
363 // - modules/post-list.php
364 'Admin' => _x( 'Admin', 'Module Tag', 'jetpack' ),
365
366 // Modules with `Jetpack Stats` tag:
367 // - modules/stats.php
368 'Jetpack Stats' => _x( 'Jetpack Stats', 'Module Tag', 'jetpack' ),
369
370 // Modules with `Site Stats` tag:
371 // - modules/stats.php
372 'Site Stats' => _x( 'Site Stats', 'Module Tag', 'jetpack' ),
373
374 // Modules with `Firewall` tag:
375 // - modules/waf.php
376 'Firewall' => _x( 'Firewall', 'Module Tag', 'jetpack' ),
377
378 // Modules with `WAF` tag:
379 // - modules/waf.php
380 'WAF' => _x( 'WAF', 'Module Tag', 'jetpack' ),
381 );
382 }
383 return ! empty( $module_tags[ $key ] ) ? $module_tags[ $key ] : '';
384 }
385
386 /**
387 * For a given module, return an array with the module info.
388 *
389 * @param string $key Module file name without `.php`.
390 *
391 * return array|string|null An array containing the module info or an empty string if the given module isn't known.
392 */
393 function jetpack_get_module_info( $key ) {
394 static $module_info = array (
395 'account-protection' =>
396 array (
397 'name' => 'Account Protection',
398 'description' => 'Shield your login page with rate‑limiting and secure authentication safeguards.',
399 'sort' => '4',
400 'recommendation_order' => '',
401 'introduced' => '14.5',
402 'changed' => '',
403 'deactivate' => '',
404 'free' => '',
405 'requires_connection' => 'Yes',
406 'requires_user_connection' => 'No',
407 'auto_activate' => 'Yes',
408 'module_tags' => 'Account Protection',
409 'feature' => 'Security',
410 'additional_search_queries' => '',
411 'plan_classes' => '',
412 ),
413 'ai' =>
414 array (
415 'name' => 'AI',
416 'description' => 'Turn your ideas into ready-to-publish content and generate images with the power of AI.',
417 'sort' => '40',
418 'recommendation_order' => '15',
419 'introduced' => '16.2-a.3',
420 'changed' => '',
421 'deactivate' => '',
422 'free' => '',
423 'requires_connection' => 'Yes',
424 'requires_user_connection' => 'Yes',
425 'auto_activate' => 'Yes',
426 'module_tags' => 'Writing',
427 'feature' => 'Writing',
428 'additional_search_queries' => 'ai, artificial intelligence, jetpack ai, ai assistant, generate, content, images',
429 'plan_classes' => '',
430 ),
431 'blaze' =>
432 array (
433 'name' => 'Blaze',
434 'description' => 'Promote your posts and pages across millions of sites in the WordPress.com and Tumblr ad network.',
435 'sort' => '22',
436 'recommendation_order' => '12',
437 'introduced' => '12.3',
438 'changed' => '',
439 'deactivate' => '',
440 'free' => '',
441 'requires_connection' => 'Yes',
442 'requires_user_connection' => '',
443 'auto_activate' => 'Yes',
444 'module_tags' => 'Traffic, Social',
445 'feature' => '',
446 'additional_search_queries' => 'advertising, ads',
447 'plan_classes' => '',
448 ),
449 'blocks' =>
450 array (
451 'name' => 'Blocks',
452 'description' => 'Expand your editor with custom Jetpack blocks for rich content and layout options.',
453 'sort' => '5',
454 'recommendation_order' => '',
455 'introduced' => '13.9-a.8',
456 'changed' => '',
457 'deactivate' => '',
458 'free' => '',
459 'requires_connection' => 'No',
460 'requires_user_connection' => '',
461 'auto_activate' => 'Yes',
462 'module_tags' => 'blocks',
463 'feature' => 'Writing',
464 'additional_search_queries' => '',
465 'plan_classes' => '',
466 ),
467 'canonical-urls' =>
468 array (
469 'name' => 'Canonical URLs',
470 'description' => 'Add canonical URL tags to archive pages to prevent duplicate content in search engines.',
471 'sort' => '36',
472 'recommendation_order' => '',
473 'introduced' => '15.6',
474 'changed' => '',
475 'deactivate' => '',
476 'free' => '',
477 'requires_connection' => 'No',
478 'requires_user_connection' => 'No',
479 'auto_activate' => 'No',
480 'module_tags' => 'Traffic',
481 'feature' => 'Traffic',
482 'additional_search_queries' => 'canonical, seo, duplicate content, woocommerce, archive',
483 'plan_classes' => '',
484 ),
485 'carousel' =>
486 array (
487 'name' => 'Carousel',
488 'description' => 'Turn your image galleries into immersive, full‑screen slideshows.',
489 'sort' => '22',
490 'recommendation_order' => '12',
491 'introduced' => '1.5',
492 'changed' => '',
493 'deactivate' => '',
494 'free' => '',
495 'requires_connection' => 'No',
496 'requires_user_connection' => '',
497 'auto_activate' => 'No',
498 'module_tags' => 'Photos and Videos',
499 'feature' => 'Appearance',
500 'additional_search_queries' => 'gallery, carousel, diaporama, slideshow, images, lightbox, exif, metadata, image, creator',
501 'plan_classes' => '',
502 ),
503 'comment-likes' =>
504 array (
505 'name' => 'Comment Likes',
506 'description' => 'Enable visitors to like individual comments and boost engagement.',
507 'sort' => '39',
508 'recommendation_order' => '17',
509 'introduced' => '5.1',
510 'changed' => '',
511 'deactivate' => '',
512 'free' => '',
513 'requires_connection' => 'Yes',
514 'requires_user_connection' => '',
515 'auto_activate' => 'No',
516 'module_tags' => 'Social',
517 'feature' => '',
518 'additional_search_queries' => 'like widget, like button, like, likes',
519 'plan_classes' => '',
520 ),
521 'comments' =>
522 array (
523 'name' => 'Comments',
524 'description' => 'Replace the default comment form with a modern, feature‑rich alternative.',
525 'sort' => '20',
526 'recommendation_order' => '',
527 'introduced' => '1.4',
528 'changed' => '',
529 'deactivate' => '',
530 'free' => '',
531 'requires_connection' => 'Yes',
532 'requires_user_connection' => '',
533 'auto_activate' => 'No',
534 'module_tags' => 'Social',
535 'feature' => 'Engagement',
536 'additional_search_queries' => 'comments, comment, facebook, social',
537 'plan_classes' => '',
538 ),
539 'contact-form' =>
540 array (
541 'name' => 'Forms',
542 'description' => 'Add contact, registration, and feedback forms directly from the block editor.',
543 'sort' => '15',
544 'recommendation_order' => '14',
545 'introduced' => '1.3',
546 'changed' => '',
547 'deactivate' => '',
548 'free' => '',
549 'requires_connection' => 'No',
550 'requires_user_connection' => '',
551 'auto_activate' => 'Yes',
552 'module_tags' => 'Other',
553 'feature' => 'Writing',
554 'additional_search_queries' => 'contact, form, grunion, feedback, submission, contact form, email, feedback, contact form plugin, custom form, custom form plugin, form builder, forms, form maker, survey, contact by jetpack, contact us, forms free, creator',
555 'plan_classes' => '',
556 ),
557 'copy-post' =>
558 array (
559 'name' => 'Copy Post',
560 'description' => 'Duplicate any post or page in one click to speed up content creation.',
561 'sort' => '15',
562 'recommendation_order' => '',
563 'introduced' => '7.0',
564 'changed' => '',
565 'deactivate' => '',
566 'free' => '',
567 'requires_connection' => 'No',
568 'requires_user_connection' => '',
569 'auto_activate' => 'No',
570 'module_tags' => 'Writing',
571 'feature' => 'Writing',
572 'additional_search_queries' => 'copy, duplicate',
573 'plan_classes' => '',
574 ),
575 'custom-content-types' =>
576 array (
577 'name' => 'Custom Content Types',
578 'description' => 'Display different types of content on your site with custom content types.',
579 'sort' => '34',
580 'recommendation_order' => '',
581 'introduced' => '3.1',
582 'changed' => '',
583 'deactivate' => '',
584 'free' => '',
585 'requires_connection' => 'No',
586 'requires_user_connection' => '',
587 'auto_activate' => 'No',
588 'module_tags' => 'Writing',
589 'feature' => 'Writing',
590 'additional_search_queries' => 'cpt, custom post types, portfolio, portfolios, testimonial, testimonials',
591 'plan_classes' => '',
592 ),
593 'google-fonts' =>
594 array (
595 'name' => 'Google Fonts (Beta)',
596 'description' => 'This feature is now supported natively in WordPress when using any block theme. To use Google Fonts, refer to the WordPress.org Font Library documentation.',
597 'sort' => '1',
598 'recommendation_order' => '2',
599 'introduced' => '10.8.0',
600 'changed' => '',
601 'deactivate' => '',
602 'free' => '',
603 'requires_connection' => 'No',
604 'requires_user_connection' => '',
605 'auto_activate' => 'No',
606 'module_tags' => 'Fonts, Recommended',
607 'feature' => 'Writing',
608 'additional_search_queries' => 'fonts, webfonts, typography, creator',
609 'plan_classes' => '',
610 ),
611 'gravatar-hovercards' =>
612 array (
613 'name' => 'Gravatar Hovercards',
614 'description' => 'Show a user’s Gravatar profile when visitors hover over their name or image.',
615 'sort' => '11',
616 'recommendation_order' => '13',
617 'introduced' => '1.1',
618 'changed' => '',
619 'deactivate' => '',
620 'free' => '',
621 'requires_connection' => 'No',
622 'requires_user_connection' => '',
623 'auto_activate' => 'No',
624 'module_tags' => 'Social, Appearance',
625 'feature' => 'Appearance',
626 'additional_search_queries' => 'gravatar, hovercards',
627 'plan_classes' => '',
628 ),
629 'infinite-scroll' =>
630 array (
631 'name' => 'Infinite Scroll',
632 'description' => 'Automatically load new posts as visitors scroll down your site.',
633 'sort' => '26',
634 'recommendation_order' => '',
635 'introduced' => '2.0',
636 'changed' => '',
637 'deactivate' => '',
638 'free' => '',
639 'requires_connection' => 'No',
640 'requires_user_connection' => '',
641 'auto_activate' => 'No',
642 'module_tags' => 'Appearance',
643 'feature' => 'Appearance',
644 'additional_search_queries' => 'scroll, infinite, infinite scroll',
645 'plan_classes' => '',
646 ),
647 'json-api' =>
648 array (
649 'name' => 'JSON API',
650 'description' => 'Access your site’s data remotely through the WordPress.com REST API.',
651 'sort' => '19',
652 'recommendation_order' => '',
653 'introduced' => '1.9',
654 'changed' => '',
655 'deactivate' => '',
656 'free' => '',
657 'requires_connection' => 'Yes',
658 'requires_user_connection' => '',
659 'auto_activate' => 'Public',
660 'module_tags' => 'Writing, Developers',
661 'feature' => 'General',
662 'additional_search_queries' => 'api, rest, develop, developers, json, klout, oauth',
663 'plan_classes' => '',
664 ),
665 'latex' =>
666 array (
667 'name' => 'Beautiful Math',
668 'description' => 'Add beautifully formatted math equations to your posts and pages using LaTeX.',
669 'sort' => '12',
670 'recommendation_order' => '',
671 'introduced' => '1.1',
672 'changed' => '',
673 'deactivate' => '',
674 'free' => '',
675 'requires_connection' => 'No',
676 'requires_user_connection' => '',
677 'auto_activate' => 'No',
678 'module_tags' => 'Writing',
679 'feature' => 'Writing',
680 'additional_search_queries' => 'latex, math, equation, equations, formula, code',
681 'plan_classes' => '',
682 ),
683 'likes' =>
684 array (
685 'name' => 'Likes',
686 'description' => 'Let readers like your posts to show appreciation and encourage interaction.',
687 'sort' => '23',
688 'recommendation_order' => '',
689 'introduced' => '2.2',
690 'changed' => '',
691 'deactivate' => '',
692 'free' => '',
693 'requires_connection' => 'Yes',
694 'requires_user_connection' => '',
695 'auto_activate' => 'No',
696 'module_tags' => 'Social',
697 'feature' => 'Engagement',
698 'additional_search_queries' => 'like, likes, wordpress.com',
699 'plan_classes' => '',
700 ),
701 'markdown' =>
702 array (
703 'name' => 'Markdown',
704 'description' => 'Write and format posts using clean, readable Markdown syntax.',
705 'sort' => '31',
706 'recommendation_order' => '',
707 'introduced' => '2.8',
708 'changed' => '',
709 'deactivate' => '',
710 'free' => '',
711 'requires_connection' => 'No',
712 'requires_user_connection' => '',
713 'auto_activate' => 'No',
714 'module_tags' => 'Writing',
715 'feature' => 'Writing',
716 'additional_search_queries' => 'md, markdown',
717 'plan_classes' => '',
718 ),
719 'monitor' =>
720 array (
721 'name' => 'Downtime Monitor',
722 'description' => 'Get instant alerts if your site goes down and know when it’s back online.',
723 'sort' => '28',
724 'recommendation_order' => '10',
725 'introduced' => '2.6',
726 'changed' => '',
727 'deactivate' => '',
728 'free' => '',
729 'requires_connection' => 'Yes',
730 'requires_user_connection' => 'Yes',
731 'auto_activate' => 'No',
732 'module_tags' => 'Recommended',
733 'feature' => 'Security',
734 'additional_search_queries' => 'monitor, uptime, downtime, monitoring, maintenance, maintenance mode, offline, site is down, site down, down, repair, error',
735 'plan_classes' => '',
736 ),
737 'notes' =>
738 array (
739 'name' => 'Notifications',
740 'description' => 'Receive real‑time notifications about site activity across your devices.',
741 'sort' => '13',
742 'recommendation_order' => '',
743 'introduced' => '1.9',
744 'changed' => '',
745 'deactivate' => '',
746 'free' => '',
747 'requires_connection' => 'Yes',
748 'requires_user_connection' => 'Yes',
749 'auto_activate' => 'Yes',
750 'module_tags' => 'Other',
751 'feature' => 'General',
752 'additional_search_queries' => 'notification, notifications, toolbar, adminbar, push, comments',
753 'plan_classes' => '',
754 ),
755 'photon-cdn' =>
756 array (
757 'name' => 'Asset CDN',
758 'description' => 'Serve static files like CSS and JS from Jetpack’s global CDN for faster load times.',
759 'sort' => '26',
760 'recommendation_order' => '1',
761 'introduced' => '6.6',
762 'changed' => '',
763 'deactivate' => '',
764 'free' => '',
765 'requires_connection' => 'No',
766 'requires_user_connection' => '',
767 'auto_activate' => 'No',
768 'module_tags' => 'Photos and Videos, Appearance, Recommended',
769 'feature' => 'Recommended, Appearance',
770 'additional_search_queries' => 'site accelerator, accelerate, static, assets, javascript, css, files, performance, cdn, bandwidth, content delivery network, pagespeed, combine js, optimize css',
771 'plan_classes' => '',
772 ),
773 'photon' =>
774 array (
775 'name' => 'Image CDN',
776 'description' => 'Deliver images quickly with automatic resizing from Jetpack’s global image CDN.',
777 'sort' => '25',
778 'recommendation_order' => '1',
779 'introduced' => '2.0',
780 'changed' => '',
781 'deactivate' => '',
782 'free' => '',
783 'requires_connection' => 'Yes',
784 'requires_user_connection' => '',
785 'auto_activate' => 'No',
786 'module_tags' => 'Photos and Videos, Appearance, Recommended',
787 'feature' => 'Recommended, Appearance',
788 'additional_search_queries' => 'photon, photo cdn, image cdn, speed, compression, resize, responsive images, responsive, content distribution network, optimize, page speed, image optimize, photon jetpack',
789 'plan_classes' => '',
790 ),
791 'podcast' =>
792 array (
793 'name' => 'Podcast',
794 'description' => 'Publish, manage, and grow your podcast right from your site.',
795 'sort' => '38',
796 'recommendation_order' => '',
797 'introduced' => '',
798 'changed' => '',
799 'deactivate' => '',
800 'free' => '',
801 'requires_connection' => 'No',
802 'requires_user_connection' => '',
803 'auto_activate' => 'Yes',
804 'module_tags' => 'Writing',
805 'feature' => 'Writing',
806 'additional_search_queries' => 'podcast, podcasts, podcasting, audio, episodes, rss, feed, distribution',
807 'plan_classes' => '',
808 ),
809 'post-by-email' =>
810 array (
811 'name' => 'Post by Email',
812 'description' => 'Publish blog posts simply by sending an email to a custom address.',
813 'sort' => '14',
814 'recommendation_order' => '',
815 'introduced' => '2.0',
816 'changed' => '',
817 'deactivate' => '',
818 'free' => '',
819 'requires_connection' => 'Yes',
820 'requires_user_connection' => 'Yes',
821 'auto_activate' => 'No',
822 'module_tags' => 'Writing',
823 'feature' => 'Writing',
824 'additional_search_queries' => 'post by email, email',
825 'plan_classes' => '',
826 ),
827 'post-list' =>
828 array (
829 'name' => 'Post List',
830 'description' => 'Display a customizable list of your latest posts anywhere on your site.',
831 'sort' => '31',
832 'recommendation_order' => '12',
833 'introduced' => '11.3',
834 'changed' => '',
835 'deactivate' => '',
836 'free' => '',
837 'requires_connection' => 'No',
838 'requires_user_connection' => '',
839 'auto_activate' => 'No',
840 'module_tags' => 'Admin',
841 'feature' => 'Appearance',
842 'additional_search_queries' => 'post, admin, list',
843 'plan_classes' => '',
844 ),
845 'protect' =>
846 array (
847 'name' => 'Brute Force Protection',
848 'description' => 'Block malicious login attempts automatically and keep hackers out.',
849 'sort' => '1',
850 'recommendation_order' => '4',
851 'introduced' => '3.4',
852 'changed' => '',
853 'deactivate' => '',
854 'free' => '',
855 'requires_connection' => 'Yes',
856 'requires_user_connection' => 'No',
857 'auto_activate' => 'Yes',
858 'module_tags' => 'Recommended',
859 'feature' => 'Security',
860 'additional_search_queries' => 'security, jetpack protect, secure, protection, botnet, brute force, protect, login, bot, password, passwords, strong passwords, strong password, wp-login.php, protect admin',
861 'plan_classes' => '',
862 ),
863 'publicize' =>
864 array (
865 'name' => 'Jetpack Social',
866 'description' => 'Auto‑share your posts to social networks and track engagement in one place.',
867 'sort' => '10',
868 'recommendation_order' => '7',
869 'introduced' => '2.0',
870 'changed' => '',
871 'deactivate' => '',
872 'free' => '',
873 'requires_connection' => 'Yes',
874 'requires_user_connection' => 'Yes',
875 'auto_activate' => 'No',
876 'module_tags' => 'Social, Recommended',
877 'feature' => 'Engagement',
878 'additional_search_queries' => 'facebook, bluesky, threads, mastodon, instagram, jetpack publicize, tumblr, linkedin, social, tweet, connections, sharing, social media, automated, automated sharing, auto publish, auto tweet and like, auto tweet, facebook auto post, facebook posting',
879 'plan_classes' => '',
880 ),
881 'related-posts' =>
882 array (
883 'name' => 'Related Posts',
884 'description' => 'Automatically display related articles to keep visitors reading longer.',
885 'sort' => '29',
886 'recommendation_order' => '9',
887 'introduced' => '2.9',
888 'changed' => '',
889 'deactivate' => '',
890 'free' => '',
891 'requires_connection' => 'Yes',
892 'requires_user_connection' => '',
893 'auto_activate' => 'No',
894 'module_tags' => 'Recommended',
895 'feature' => 'Engagement',
896 'additional_search_queries' => 'related, jetpack related posts, related posts for wordpress, related posts, popular posts, popular, related content, related post, contextual, context, contextual related posts, related articles, similar posts, easy related posts, related page, simple related posts, free related posts, related thumbnails, similar, engagement, yet another related posts plugin, creator',
897 'plan_classes' => '',
898 ),
899 'search' =>
900 array (
901 'name' => 'Search',
902 'description' => 'Instantly deliver the most relevant results to your visitors.',
903 'sort' => '34',
904 'recommendation_order' => '',
905 'introduced' => '5.0',
906 'changed' => '',
907 'deactivate' => '',
908 'free' => 'false',
909 'requires_connection' => 'Yes',
910 'requires_user_connection' => '',
911 'auto_activate' => 'No',
912 'module_tags' => '',
913 'feature' => 'Search',
914 'additional_search_queries' => 'search, elastic, elastic search, elasticsearch, fast search, search results, search performance, google search',
915 'plan_classes' => 'business, complete',
916 ),
917 'seo-tools' =>
918 array (
919 'name' => 'SEO Tools',
920 'description' => 'Optimize titles, meta descriptions, and social previews for better search results.',
921 'sort' => '35',
922 'recommendation_order' => '15',
923 'introduced' => '4.4',
924 'changed' => '',
925 'deactivate' => '',
926 'free' => '',
927 'requires_connection' => 'No',
928 'requires_user_connection' => 'No',
929 'auto_activate' => 'No',
930 'module_tags' => 'Social, Appearance',
931 'feature' => 'Traffic',
932 'additional_search_queries' => 'search engine optimization, social preview, meta description, custom title format, seo, sitemap, open graph, search engine, title tag',
933 'plan_classes' => '',
934 ),
935 'sharedaddy' =>
936 array (
937 'name' => 'Sharing',
938 'description' => 'Add customizable share buttons so visitors can spread your content.',
939 'sort' => '7',
940 'recommendation_order' => '6',
941 'introduced' => '1.1',
942 'changed' => '1.2',
943 'deactivate' => '',
944 'free' => '',
945 'requires_connection' => 'No',
946 'requires_user_connection' => '',
947 'auto_activate' => 'No',
948 'module_tags' => 'Social, Recommended',
949 'feature' => 'Engagement',
950 'additional_search_queries' => 'share, sharing, sharedaddy, social buttons, buttons, share facebook, share twitter, social media sharing, social media share, social share, icons, email, facebook, twitter, linkedin, pinterest, social widget, social media',
951 'plan_classes' => '',
952 ),
953 'shortcodes' =>
954 array (
955 'name' => 'Shortcode Embeds',
956 'description' => 'Easily embed rich media like YouTube videos and tweets using simple shortcodes.',
957 'sort' => '3',
958 'recommendation_order' => '',
959 'introduced' => '1.1',
960 'changed' => '1.2',
961 'deactivate' => '',
962 'free' => '',
963 'requires_connection' => 'No',
964 'requires_user_connection' => '',
965 'auto_activate' => 'No',
966 'module_tags' => 'Photos and Videos, Social, Writing, Appearance',
967 'feature' => 'Writing',
968 'additional_search_queries' => 'shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube',
969 'plan_classes' => '',
970 ),
971 'shortlinks' =>
972 array (
973 'name' => 'WP.me Shortlinks',
974 'description' => 'Share short, easy-to-remember links to your posts and pages.',
975 'sort' => '8',
976 'recommendation_order' => '',
977 'introduced' => '1.1',
978 'changed' => '',
979 'deactivate' => '',
980 'free' => '',
981 'requires_connection' => 'Yes',
982 'requires_user_connection' => '',
983 'auto_activate' => 'No',
984 'module_tags' => 'Social',
985 'feature' => 'Writing',
986 'additional_search_queries' => 'shortlinks, wp.me',
987 'plan_classes' => '',
988 ),
989 'sitemaps' =>
990 array (
991 'name' => 'Sitemaps',
992 'description' => 'Generate XML sitemaps so search engines can index your site efficiently.',
993 'sort' => '13',
994 'recommendation_order' => '',
995 'introduced' => '3.9',
996 'changed' => '',
997 'deactivate' => '',
998 'free' => '',
999 'requires_connection' => 'No',
1000 'requires_user_connection' => '',
1001 'auto_activate' => 'No',
1002 'module_tags' => 'Recommended, Traffic',
1003 'feature' => 'Recommended',
1004 'additional_search_queries' => 'sitemap, traffic, search, site map, seo',
1005 'plan_classes' => '',
1006 ),
1007 'sso' =>
1008 array (
1009 'name' => 'Secure Sign On',
1010 'description' => 'Let users log in with their WordPress.com account for quick, secure access.',
1011 'sort' => '30',
1012 'recommendation_order' => '5',
1013 'introduced' => '2.6',
1014 'changed' => '',
1015 'deactivate' => '',
1016 'free' => '',
1017 'requires_connection' => 'Yes',
1018 'requires_user_connection' => 'Yes',
1019 'auto_activate' => 'No',
1020 'module_tags' => 'Developers',
1021 'feature' => 'Security',
1022 'additional_search_queries' => 'sso, single sign on, login, log in, 2fa, two-factor',
1023 'plan_classes' => '',
1024 ),
1025 'stats' =>
1026 array (
1027 'name' => 'Jetpack Stats',
1028 'description' => 'Clear, concise traffic insights right in your WordPress dashboard.',
1029 'sort' => '1',
1030 'recommendation_order' => '2',
1031 'introduced' => '1.1',
1032 'changed' => '',
1033 'deactivate' => '',
1034 'free' => '',
1035 'requires_connection' => 'Yes',
1036 'requires_user_connection' => '',
1037 'auto_activate' => 'Yes',
1038 'module_tags' => 'Jetpack Stats, Site Stats, Recommended',
1039 'feature' => 'Engagement',
1040 'additional_search_queries' => 'statistics, tracking, analytics, views, traffic, stats',
1041 'plan_classes' => '',
1042 ),
1043 'subscriptions' =>
1044 array (
1045 'name' => 'Newsletter',
1046 'description' => 'Grow your subscriber list and deliver your content directly to their email inbox.',
1047 'sort' => '9',
1048 'recommendation_order' => '8',
1049 'introduced' => '1.2',
1050 'changed' => '',
1051 'deactivate' => '',
1052 'free' => '',
1053 'requires_connection' => 'Yes',
1054 'requires_user_connection' => 'Yes',
1055 'auto_activate' => 'Yes',
1056 'module_tags' => 'Social',
1057 'feature' => 'Engagement',
1058 'additional_search_queries' => 'subscriptions, subscription, email, follow, followers, subscribers, signup, newsletter, creator',
1059 'plan_classes' => '',
1060 ),
1061 'tiled-gallery' =>
1062 array (
1063 'name' => 'Tiled Galleries',
1064 'description' => 'Create visually engaging tiled image galleries with multiple layout options.',
1065 'sort' => '24',
1066 'recommendation_order' => '',
1067 'introduced' => '2.1',
1068 'changed' => '',
1069 'deactivate' => '',
1070 'free' => '',
1071 'requires_connection' => 'No',
1072 'requires_user_connection' => '',
1073 'auto_activate' => 'No',
1074 'module_tags' => 'Photos and Videos',
1075 'feature' => 'Appearance',
1076 'additional_search_queries' => 'gallery, tiles, tiled, grid, mosaic, images',
1077 'plan_classes' => '',
1078 ),
1079 'vaultpress' =>
1080 array (
1081 'name' => 'VaultPress Backup',
1082 'description' => 'Real-time backups save every change, and one-click restores get you back online quickly.',
1083 'sort' => '32',
1084 'recommendation_order' => '',
1085 'introduced' => '0:1.2',
1086 'changed' => '',
1087 'deactivate' => 'false',
1088 'free' => 'false',
1089 'requires_connection' => 'Yes',
1090 'requires_user_connection' => '',
1091 'auto_activate' => 'No',
1092 'module_tags' => '',
1093 'feature' => 'Security, Health',
1094 'additional_search_queries' => 'backup, cloud backup, database backup, restore, wordpress backup, backup plugin, wordpress backup plugin, back up, backup wordpress, backwpup, vaultpress, backups, off-site backups, offsite backup, offsite, off-site, antivirus, malware scanner, security, virus, viruses, prevent viruses, scan, anti-virus, antimalware, protection, safe browsing, malware, wp security, wordpress security',
1095 'plan_classes' => 'personal, business, premium, security, complete',
1096 ),
1097 'verification-tools' =>
1098 array (
1099 'name' => 'Site Verification',
1100 'description' => 'Verify your site with search engines and social platforms in a couple of clicks.',
1101 'sort' => '33',
1102 'recommendation_order' => '',
1103 'introduced' => '3.0',
1104 'changed' => '',
1105 'deactivate' => '',
1106 'free' => '',
1107 'requires_connection' => 'No',
1108 'requires_user_connection' => '',
1109 'auto_activate' => 'Yes',
1110 'module_tags' => '',
1111 'feature' => 'Engagement',
1112 'additional_search_queries' => 'webmaster, seo, google, bing, pinterest, search, console',
1113 'plan_classes' => '',
1114 ),
1115 'videopress' =>
1116 array (
1117 'name' => 'VideoPress',
1118 'description' => 'Powerful and flexible video hosting.',
1119 'sort' => '27',
1120 'recommendation_order' => '',
1121 'introduced' => '2.5',
1122 'changed' => '',
1123 'deactivate' => '',
1124 'free' => '',
1125 'requires_connection' => 'Yes',
1126 'requires_user_connection' => '',
1127 'auto_activate' => '',
1128 'module_tags' => 'Photos and Videos',
1129 'feature' => 'Writing',
1130 'additional_search_queries' => 'video, videos, videopress, video gallery, video player, videoplayer, mobile video, vimeo, youtube, html5 video, stream',
1131 'plan_classes' => '',
1132 ),
1133 'waf' =>
1134 array (
1135 'name' => 'Firewall',
1136 'description' => 'Filter malicious traffic in real time with Jetpack’s site firewall.',
1137 'sort' => '5',
1138 'recommendation_order' => '',
1139 'introduced' => '10.9',
1140 'changed' => '',
1141 'deactivate' => '',
1142 'free' => '',
1143 'requires_connection' => 'Yes',
1144 'requires_user_connection' => '',
1145 'auto_activate' => 'No',
1146 'module_tags' => 'Firewall, WAF',
1147 'feature' => 'Security',
1148 'additional_search_queries' => '',
1149 'plan_classes' => '',
1150 ),
1151 'widget-visibility' =>
1152 array (
1153 'name' => 'Widget Visibility',
1154 'description' => 'Choose which widgets appear on specific pages or posts with advanced controls.',
1155 'sort' => '17',
1156 'recommendation_order' => '',
1157 'introduced' => '2.4',
1158 'changed' => '',
1159 'deactivate' => '',
1160 'free' => '',
1161 'requires_connection' => 'No',
1162 'requires_user_connection' => '',
1163 'auto_activate' => 'No',
1164 'module_tags' => 'Appearance',
1165 'feature' => 'Appearance',
1166 'additional_search_queries' => 'widget visibility, logic, conditional, widgets, widget',
1167 'plan_classes' => '',
1168 ),
1169 'widgets' =>
1170 array (
1171 'name' => 'Extra Sidebar Widgets',
1172 'description' => 'Add more widget options to your site, like social feeds, subscriptions, and more.',
1173 'sort' => '4',
1174 'recommendation_order' => '',
1175 'introduced' => '1.2',
1176 'changed' => '',
1177 'deactivate' => '',
1178 'free' => '',
1179 'requires_connection' => 'No',
1180 'requires_user_connection' => '',
1181 'auto_activate' => 'No',
1182 'module_tags' => 'Social, Appearance',
1183 'feature' => 'Appearance',
1184 'additional_search_queries' => 'widget, widgets, facebook, gallery, twitter, gravatar, image, rss',
1185 'plan_classes' => '',
1186 ),
1187 'woocommerce-analytics' =>
1188 array (
1189 'name' => 'WooCommerce Analytics',
1190 'description' => 'Get actionable insights on your store’s orders, revenue, and customers.',
1191 'sort' => '13',
1192 'recommendation_order' => '',
1193 'introduced' => '8.4',
1194 'changed' => '',
1195 'deactivate' => '',
1196 'free' => '',
1197 'requires_connection' => 'Yes',
1198 'requires_user_connection' => '',
1199 'auto_activate' => 'Yes',
1200 'module_tags' => 'Other, Recommended',
1201 'feature' => 'Engagement',
1202 'additional_search_queries' => 'woocommerce, analytics, stats, statistics, tracking, analytics, views',
1203 'plan_classes' => '',
1204 ),
1205 'wordads' =>
1206 array (
1207 'name' => 'Ads',
1208 'description' => 'Earn revenue by displaying high‑quality ads on your site.',
1209 'sort' => '1',
1210 'recommendation_order' => '',
1211 'introduced' => '4.5.0',
1212 'changed' => '',
1213 'deactivate' => '',
1214 'free' => '',
1215 'requires_connection' => 'Yes',
1216 'requires_user_connection' => '',
1217 'auto_activate' => 'No',
1218 'module_tags' => 'Traffic, Appearance',
1219 'feature' => '',
1220 'additional_search_queries' => 'advertising, ad codes, ads, creator',
1221 'plan_classes' => 'premium, business, security, complete',
1222 ),
1223 'wpcom-reader' =>
1224 array (
1225 'name' => 'WordPress.com Reader',
1226 'description' => 'Quickly access the WordPress.com Reader from your site\'s admin bar.',
1227 'sort' => '12',
1228 'recommendation_order' => '',
1229 'introduced' => '15.5',
1230 'changed' => '',
1231 'deactivate' => '',
1232 'free' => '',
1233 'requires_connection' => 'No',
1234 'requires_user_connection' => '',
1235 'auto_activate' => 'No',
1236 'module_tags' => 'Social',
1237 'feature' => 'Engagement',
1238 'additional_search_queries' => 'read, subscriptions, subscribe, reader, follow',
1239 'plan_classes' => '',
1240 ),
1241 );
1242 return $module_info[ $key ] ?? null;
1243 }
1244
1245 /**
1246 * Return an array containing all module header names.
1247 *
1248 * @return array
1249 */
1250 function jetpack_get_all_module_header_names() {
1251 return array (
1252 'name' => 'Module Name',
1253 'description' => 'Module Description',
1254 'sort' => 'Sort Order',
1255 'recommendation_order' => 'Recommendation Order',
1256 'introduced' => 'First Introduced',
1257 'changed' => 'Major Changes In',
1258 'deactivate' => 'Deactivate',
1259 'free' => 'Free',
1260 'requires_connection' => 'Requires Connection',
1261 'requires_user_connection' => 'Requires User Connection',
1262 'auto_activate' => 'Auto Activate',
1263 'module_tags' => 'Module Tags',
1264 'feature' => 'Feature',
1265 'additional_search_queries' => 'Additional Search Queries',
1266 'plan_classes' => 'Plans',
1267 );
1268 }
1269
1270 /**
1271 * Returns whether the file associated with the given slug has no module info.
1272 *
1273 * @param string $slug The slug name.
1274 *
1275 * @return bool Whether the file has no module info.
1276 */
1277 function jetpack_has_no_module_info( $slug ) {
1278 $no_info_slugs = array (
1279 0 => 'module-extras',
1280 1 => 'module-info',
1281 2 => 'plugin-search',
1282 3 => 'simple-payments',
1283 4 => 'theme-tools',
1284 );
1285
1286 return in_array( $slug, $no_info_slugs, true );
1287 }
1288