Completed
Push — renovate/babel-loader-8.x ( 3b2ea3...563639 )
by
unknown
07:21 queued 35s
created

module-info.php ➔ jetpack_comment_likes_more_info()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * "Learn More" information blocks for all modules live in this file.
4
 *
5
 * Each module must include 2 functions:
6
 * - The first one creates a button where users can find more information about the module.
7
 * It is hooked into `jetpack_learn_more_button_ . $module`
8
 * - The second creates a information block.
9
 * It is hooked into `jetpack_module_more_info_ . $module`
10
 *
11
 * @package Jetpack
12
 */
13
14
/**
15
 *  VaultPress (stub) support link.
16
 */
17
function vaultpress_jetpack_load_more_link() {
18
	echo 'https://help.vaultpress.com/get-to-know/';
19
}
20
add_filter( 'jetpack_learn_more_button_vaultpress', 'vaultpress_jetpack_load_more_link' );
21
22
/**
23
 *  VaultPress (stub) description.
24
 */
25
function vaultpress_jetpack_more_info() {
26
	esc_html_e(
27
		'We keep a daily or real-time backup of your site so that when mistakes or accidents occur, restoring your
28
		site to any location takes a matter of minutes. Your site’s files are regularly scanned for unauthorized or
29
		suspicious modifications that could compromise your security and data. In many cases, we can fix them
30
		automatically (and will notify you). When we can’t, we provide you with expert support.',
31
		'jetpack'
32
	);
33
}
34
add_action( 'jetpack_module_more_info_vaultpress', 'vaultpress_jetpack_more_info' );
35
36
/**
37
 * Gravatar Hovercards support link.
38
 */
39
function grofiles_load_more_link() {
40
	echo 'https://jetpack.com/support/gravatar-hovercards/';
41
}
42
add_filter( 'jetpack_learn_more_button_gravatar-hovercards', 'grofiles_load_more_link' );
43
44
/**
45
 * Gravatar Hovercards description.
46
 */
47
function grofiles_more_info() {
48
	esc_html_e(
49
		'Enhance plain Gravatar images with information about a person (including a name,
50
		bio, pictures, and contact info) when they leave a comment on one of your posts.',
51
		'jetpack'
52
	);
53
}
54
add_action( 'jetpack_module_more_info_gravatar-hovercards', 'grofiles_more_info' );
55
56
/**
57
 * Shortcodes support link.
58
 */
59
function jetpack_shortcodes_load_more_link() {
60
	echo 'https://jetpack.com/support/shortcode-embeds/';
61
}
62
add_filter( 'jetpack_learn_more_button_shortcodes', 'jetpack_shortcodes_load_more_link' );
63
64
/**
65
 * Shortcodes description.
66
 */
67
function jetpack_shortcodes_more_info() {
68
	esc_html_e(
69
		'Easily and safely embed media from YouTube, Facebook, Flickr, Vimeo, Instagram,
70
		Google Maps, SlideShare, Vine, SoundCloud, and more. Just enter the appropriate shortcode directly into the
71
		editor and click “Publish.”',
72
		'jetpack'
73
	);
74
}
75
add_action( 'jetpack_module_more_info_shortcodes', 'jetpack_shortcodes_more_info' );
76
77
/**
78
 * Shortlinks support link.
79
 */
80
function wpme_load_more_link() {
81
	echo 'http://wp.me/p1moTy-DL';
82
}
83
add_filter( 'jetpack_learn_more_button_shortlinks', 'wpme_load_more_link' );
84
85
/**
86
 * Shortlinks description
87
 */
88
function wpme_more_info() {
89
	esc_html_e(
90
		'Grab short and simple links to your posts and pages using the compact wp.me domain name. Perfect
91
		for use on Twitter, Facebook, and in text messages where every character counts.',
92
		'jetpack'
93
	);
94
}
95
add_action( 'jetpack_module_more_info_shortlinks', 'wpme_more_info' );
96
97
/**
98
 * Site Stats support link.
99
 */
100
function stats_load_more_link() {
101
	echo 'https://jetpack.com/support/wordpress-com-stats/';
102
}
103
add_filter( 'jetpack_learn_more_button_stats', 'stats_load_more_link' );
104
105
/**
106
 * Site Stats description.
107
 */
108
function stats_more_info() {
109
	esc_html_e(
110
		'Simple and concise statistics about your traffic. Jetpack collects data about pageviews, likes, comments,
111
		locations, and top posts. View them in your dashboard or on WordPress.com.',
112
		'jetpack'
113
	);
114
}
115
add_action( 'jetpack_module_more_info_stats', 'stats_more_info' );
116
117
/**
118
 * Publicize support link.
119
 */
120
function publicize_load_more_link() {
121
	echo 'https://jetpack.com/support/publicize/';
122
}
123
add_filter( 'jetpack_learn_more_button_publicize', 'publicize_load_more_link' );
124
125
/**
126
 * Publicize description.
127
 */
128
function publicize_more_info() {
129
	esc_html_e(
130
		'Automatically share and promote newly published posts to Facebook, Twitter, Tumblr,
131
		and LinkedIn. You can add connections for yourself or for all users on your site.',
132
		'jetpack'
133
	);
134
}
135
add_action( 'jetpack_module_more_info_publicize', 'publicize_more_info' );
136
137
/**
138
 * Notifications
139
 */
140
function notes_load_more_link() {
141
	echo 'https://jetpack.com/support/notifications/';
142
}
143
add_filter( 'jetpack_learn_more_button_notes', 'notes_load_more_link' );
144
145
/**
146
 * Notifications description.
147
 */
148
function notes_more_info() {
149
	esc_html_e(
150
		'You will receive instant notifications in your dashboard or your mobile device when somebody comments
151
		on any of your sites. Reply directly wherever you are to keep the conversation going.',
152
		'jetpack'
153
	);
154
}
155
add_filter( 'jetpack_module_more_info_notes', 'notes_more_info' );
156
157
/**
158
 * LaTeX support link.
159
 */
160
function latex_load_more_link() {
161
	echo 'https://jetpack.com/support/beautiful-math-with-latex/';
162
}
163
add_filter( 'jetpack_learn_more_button_latex', 'latex_load_more_link' );
164
165
/**
166
 * LaTeX description.
167
 */
168
function latex_more_info() {
169
	esc_html_e(
170
		'LaTeX is a powerful markup language for writing complex mathematical equations and formulas.
171
		Jetpack combines the power of LaTeX and the simplicity of WordPress to give you the ultimate
172
		in math blogging platforms. Use $latex your latex code here$ or [latex]your latex code here[/latex]
173
		to include  in your posts and comments. Enjoy all sorts of options and embrace your inner nerd.',
174
		'jetpack'
175
	);
176
}
177
add_action( 'jetpack_module_more_info_latex', 'latex_more_info' );
178
179
/**
180
 * Sharing support link.
181
 */
182
function sharedaddy_load_more_link() {
183
	echo 'https://jetpack.com/support/sharing/';
184
}
185
add_filter( 'jetpack_learn_more_button_sharedaddy', 'sharedaddy_load_more_link' );
186
187
/**
188
 * Sharing description.
189
 */
190
function sharedaddy_more_info() {
191
	esc_html_e(
192
		'Visitors can share your posts with Twitter, Facebook, Reddit, Digg, LinkedIn, Google+, print,
193
		and email. You can configure services to appear as icons, text, or both and some services like Twitter
194
		have additional options.',
195
		'jetpack'
196
	);
197
}
198
add_action( 'jetpack_module_more_info_sharedaddy', 'sharedaddy_more_info' );
199
200
/**
201
 * After The Deadline support link.
202
 */
203
function jpatd_load_more_link() {
204
	echo 'https://jetpack.com/support/spelling-and-grammar/';
205
}
206
add_filter( 'jetpack_learn_more_button_after-the-deadline', 'jpatd_load_more_link' );
207
208
/**
209
 * After The Deadline description.
210
 */
211
function jpatd_more_info() {
212
	esc_html_e(
213
		'The After the Deadline proofreading service improves your writing by using artificial intelligence to
214
		find spelling and grammatical errors and offers smart suggestions.',
215
		'jetpack'
216
	);
217
}
218
add_action( 'jetpack_module_more_info_after-the-deadline', 'jpatd_more_info' );
219
220
/**
221
 * Extra Sidebar Widgets support link.
222
 */
223
function jetpack_widgets_load_more_link() {
224
	echo 'https://jetpack.com/support/extra-sidebar-widgets/';
225
}
226
add_filter( 'jetpack_learn_more_button_widgets', 'jetpack_widgets_load_more_link' );
227
228
/**
229
 * Extra Sidebar Widgets description.
230
 */
231
function jetpack_widgets_more_info() {
232
	esc_html_e(
233
		'Add as many custom widgets as you like by dragging and dropping and customize each to fit your needs,
234
		including, Twitter streams, Facebook like boxes, custom images, Gravatars, tiled galleries, recent posts,
235
		or social icons.',
236
		'jetpack'
237
	);
238
}
239
add_action( 'jetpack_module_more_info_widgets', 'jetpack_widgets_more_info' );
240
241
/**
242
 * Subscriptions support link.
243
 */
244
function jetpack_subscriptions_load_more_link() {
245
	echo 'https://jetpack.com/support/subscriptions/';
246
}
247
add_action( 'jetpack_learn_more_button_subscriptions', 'jetpack_subscriptions_load_more_link' );
248
249
/**
250
 * Subscriptions description.
251
 */
252
function jetpack_subscriptions_more_info() {
253
	esc_html_e(
254
		'A widget in your sidebar allows visitors to subscribe to your site so that they receive an email
255
		each time you publish new content. Your visitors can also subscribe to a post\'s comments to keep up with the conversation.',
256
		'jetpack'
257
	);
258
}
259
add_action( 'jetpack_module_more_info_subscriptions', 'jetpack_subscriptions_more_info' );
260
261
/**
262
 * Enhanced Distribution support link.
263
 */
264
function jetpack_enhanced_distribution_more_link() {
265
	echo 'https://jetpack.com/support/enhanced-distribution/';
266
}
267
add_action( 'jetpack_learn_more_button_enhanced-distribution', 'jetpack_enhanced_distribution_more_link' );
268
269
/**
270
 * Enhanced Distribution description.
271
 */
272
function jetpack_enhanced_distribution_more_info() {
273
	esc_html_e(
274
		'Jetpack will automatically take your great published content and share it instantly with third-party services
275
		like search engines, increasing your reach and traffic.',
276
		'jetpack'
277
	);
278
}
279
add_action( 'jetpack_module_more_info_enhanced-distribution', 'jetpack_enhanced_distribution_more_info' );
280
281
282
/**
283
 * Protect support link.
284
 */
285
function jetpack_protect_more_link() {
286
	echo 'https://jetpack.com/support/protect/';
287
}
288
add_action( 'jetpack_learn_more_button_protect', 'jetpack_protect_more_link' );
289
290
/**
291
 * Protect description.
292
 */
293
function jetpack_protect_more_info() {
294
	esc_html_e(
295
		'Most sites will come under attack from automated bots that attempt to log in for malicious purposes.
296
		We protect you automatically from unauthorized access by using data from millions of sites.',
297
		'jetpack'
298
	);
299
}
300
301
add_action( 'jetpack_module_more_info_protect', 'jetpack_protect_more_info' );
302
303
/**
304
 * JSON API support link.
305
 */
306
function jetpack_json_api_more_link() {
307
	echo 'https://jetpack.com/support/json-api/';
308
}
309
add_action( 'jetpack_learn_more_button_json-api', 'jetpack_json_api_more_link' );
310
311
/**
312
 * JSON API description.
313
 */
314
function jetpack_json_api_more_info() {
315
	esc_html_e(
316
		'Authorize applications and services to securely connect to your site. Developers can use WordPress.com\'s OAuth2
317
		authentication system and WordPress.com REST API to manage and access your site\'s content.',
318
		'jetpack'
319
	);
320
}
321
add_action( 'jetpack_module_more_info_json-api', 'jetpack_json_api_more_info' );
322
323
/**
324
 * Contact Form support link.
325
 */
326
function jetpack_contact_form_learn_more_button() {
327
	echo 'https://jetpack.com/support/contact-form/';
328
}
329
add_action( 'jetpack_learn_more_button_contact-form', 'jetpack_contact_form_learn_more_button' );
330
331
/**
332
 * Contact Form description.
333
 */
334
function jetpack_contact_form_more_info() {
335
	esc_html_e(
336
		'Create simple contact forms without any coding. You can have multiple forms and when
337
		a user submits it, their feedback will be emailed directly to you. If Akismet is active, submissions will be
338
		automatically filtered for spam.',
339
		'jetpack'
340
	);
341
}
342
add_action( 'jetpack_module_more_info_contact-form', 'jetpack_contact_form_more_info' );
343
344
/**
345
 * Comments support link.
346
 */
347
function jetpack_comments_learn_more_button() {
348
	echo 'https://jetpack.com/support/comments';
349
}
350
add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' );
351
352
/**
353
 * Comments description.
354
 */
355
function jetpack_comments_more_info() {
356
	esc_html_e(
357
		'Allow visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on
358
		your site. Jetpack will match your site\'s color scheme automatically (but you can adjust that).',
359
		'jetpack'
360
	);
361
}
362
add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' );
363
364
/**
365
 * Carousel support link.
366
 */
367
function jetpack_carousel_learn_more_button() {
368
	echo 'https://jetpack.com/support/carousel';
369
}
370
add_action( 'jetpack_learn_more_button_carousel', 'jetpack_carousel_learn_more_button' );
371
372
/**
373
 * Carousel description.
374
 */
375
function jetpack_carousel_more_info() {
376
	esc_html_e(
377
		'With Carousel active, any standard WordPress galleries or single images you have embedded in posts or pages will
378
		launch a full-screen photo browsing experience with comments and EXIF metadata.',
379
		'jetpack'
380
	);
381
}
382
add_action( 'jetpack_module_more_info_carousel', 'jetpack_carousel_more_info' );
383
384
/**
385
 * Custom CSS support link.
386
 */
387
function jetpack_custom_css_more_button() {
388
	echo 'https://jetpack.com/support/custom-css';
389
}
390
add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' );
391
392
/**
393
 * Custom CSS description.
394
 */
395
function jetpack_custom_css_more_info() {
396
	esc_html_e(
397
		"Add to or replace your theme's CSS including mobile styles, LESS, and SaSS.
398
		Includes syntax coloring, auto-indentation, and immediate CSS validation.",
399
		'jetpack'
400
	);
401
}
402
add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' );
403
404
/**
405
 * Masterbar support link.
406
 */
407
function jetpack_masterbar_more_link() {
408
	echo 'https://jetpack.com/support/masterbar/';
409
}
410
add_action( 'jetpack_learn_more_button_masterbar', 'jetpack_masterbar_more_link' );
411
412
/**
413
 * Masterbar description.
414
 */
415
function jetpack_masterbar_more_info() {
416
	esc_html_e(
417
		'Quickly access your Stats, Notifications, Posts and more on WordPress.com.
418
		The Toolbar is displayed for any user on the site that is connected to WordPress.com.',
419
		'jetpack'
420
	);
421
}
422
add_action( 'jetpack_module_more_info_masterbar', 'jetpack_masterbar_more_info' );
423
424
/**
425
 * Mobile Theme support link.
426
 */
427
function jetpack_minileven_more_button() {
428
	echo 'https://jetpack.com/support/mobile-theme';
429
}
430
add_action( 'jetpack_learn_more_button_minileven', 'jetpack_minileven_more_button' );
431
432
/**
433
 * Mobile Theme description.
434
 */
435
function jetpack_minileven_more_info() {
436
	esc_html_e(
437
		"Automatically optimize your site for mobile. Jetpack's mobile theme uses the header image,
438
		background, and widgets from your current theme. Post format support means your photos and galleries
439
		will also look fantastic.",
440
		'jetpack'
441
	);
442
}
443
add_action( 'jetpack_module_more_info_minileven', 'jetpack_minileven_more_info' );
444
445
/**
446
 * Infinite Scroll support link.
447
 */
448
function jetpack_infinite_scroll_more_button() {
449
	echo 'https://jetpack.com/support/infinite-scroll';
450
}
451
add_action( 'jetpack_learn_more_button_infinite-scroll', 'jetpack_infinite_scroll_more_button' );
452
453
/**
454
 * Infinite Scroll description.
455
 */
456
function jetpack_infinite_scroll_more_info() {
457
	esc_html_e(
458
		'Infinite scrolling pulls the next set of posts automatically into view when the reader approaches
459
		the bottom of the page. This helps you reader see more of your content.',
460
		'jetpack'
461
	);
462
}
463
add_action( 'jetpack_module_more_info_infinite-scroll', 'jetpack_infinite_scroll_more_info' );
464
465
/**
466
 * Post by Email support link.
467
 */
468
function jetpack_post_by_email_more_link() {
469
	echo 'https://jetpack.com/support/post-by-email/';
470
}
471
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
472
473
/**
474
 * Post by Email description.
475
 */
476
function jetpack_post_by_email_more_info() {
477
	esc_html_e(
478
		'Publish posts on your site by writing and sending an email from any email client instead of using the post editor.',
479
		'jetpack'
480
	);
481
}
482
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
483
484
/**
485
 * Photon support link.
486
 */
487
function jetpack_photon_more_link() {
488
	echo 'https://jetpack.com/support/photon';
489
}
490
add_action( 'jetpack_learn_more_button_photon', 'jetpack_photon_more_link' );
491
492
/**
493
 * Photon description.
494
 */
495
function jetpack_photon_more_info() {
496
	esc_html_e(
497
		'Jetpack will optimize your images and serve them from the server location nearest
498
		to your visitors. Using our global content delivery network will boost the loading speed of your site.',
499
		'jetpack'
500
	);
501
}
502
add_action( 'jetpack_module_more_info_photon', 'jetpack_photon_more_info' );
503
504
/**
505
 * Lazy Images support link.
506
 */
507
function jetpack_lazy_images_more_link() {
508
	echo 'https://jetpack.com/support/lazy-images/';
509
}
510
add_action( 'jetpack_learn_more_button_lazy-images', 'jetpack_lazy_images_more_link' );
511
512
/**
513
 * Lazy Images description.
514
 */
515
function jetpack_lazy_images_more_info() {
516
	esc_html_e(
517
		'Improve your site\'s speed by only loading images visible on the screen.
518
		New images will load just before they scroll into view. This prevents viewers
519
		from having to download all the images on a page all at once, even ones they can\'t see.',
520
		'jetpack'
521
	);
522
}
523
add_action( 'jetpack_module_more_info_lazy-images', 'jetpack_lazy_images_more_info' );
524
525
/**
526
 * Tiled Galleries support link.
527
 */
528
function jetpack_tiled_gallery_more_link() {
529
	echo 'https://jetpack.com/support/tiled-galleries/';
530
}
531
add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' );
532
533
/**
534
 * Tiled Galleries description.
535
 */
536
function jetpack_tiled_gallery_more_info() {
537
	esc_html_e(
538
		'When adding an image gallery, you will have the option to create elegant magazine-style mosaic layouts for your photos,
539
		including mosaic (default), square, and circular layouts.',
540
		'jetpack'
541
	);
542
}
543
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' );
544
545
/**
546
 * Likes support link.
547
 */
548
function jetpack_likes_more_link() {
549
	echo 'https://jetpack.com/support/likes/';
550
}
551
add_action( 'jetpack_learn_more_button_likes', 'jetpack_likes_more_link' );
552
553
/**
554
 * Likes description.
555
 */
556
function jetpack_likes_more_info() {
557
	esc_html_e(
558
		'Allow your readers to show their appreciation for your posts and other content. Likes show up
559
		below each post and your readers will also be able to review their liked posts from WordPress.com.',
560
		'jetpack'
561
	);
562
}
563
add_action( 'jetpack_module_more_info_likes', 'jetpack_likes_more_info' );
564
565
/**
566
 * Widget Visibility support link.
567
 */
568
function jetpack_widget_visibility_more_link() {
569
	echo 'https://jetpack.com/support/widget-visibility/';
570
}
571
add_action( 'jetpack_learn_more_button_widget-visibility', 'jetpack_widget_visibility_more_link' );
572
573
/**
574
 * Widget Visibility description.
575
 */
576
function jetpack_widget_visibility_more_info() {
577
	esc_html_e(
578
		'Choose from a set of visibility options for sidebar widgets such as showing them only certain categories,
579
		only on error pages, or only search results pages. You can also do the reverse and choose to hide them on certain pages.',
580
		'jetpack'
581
	);
582
}
583
add_action( 'jetpack_module_more_info_widget-visibility', 'jetpack_widget_visibility_more_info' );
584
585
/**
586
 * VideoPress support link.
587
 */
588
function jetpack_videopress_more_link() {
589
	echo 'https://jetpack.com/support/videopress/';
590
}
591
add_action( 'jetpack_learn_more_button_videopress', 'jetpack_videopress_more_link' );
592
593
/**
594
 * VideoPress description.
595
 */
596
function jetpack_videopress_more_info() {
597
	esc_html_e(
598
		'The easiest way to upload ad-free and unbranded videos to your site. You get stats on video
599
		playback and shares and the player is lightweight and responsive.',
600
		'jetpack'
601
	);
602
}
603
add_action( 'jetpack_module_more_info_videopress', 'jetpack_videopress_more_info' );
604
605
/**
606
 * SSO support link.
607
 */
608
function jetpack_sso_more_link() {
609
	echo 'https://jetpack.com/support/sso/';
610
}
611
add_action( 'jetpack_learn_more_button_sso', 'jetpack_sso_more_link' );
612
613
/**
614
 * SSO description.
615
 */
616
function jetpack_sso_more_info() {
617
	esc_html_e(
618
		'Your users will be able to log in to your site with their WordPress.com account.
619
		This includes two-factor authentication making it the safest login mechanism for your site.',
620
		'jetpack'
621
	);
622
}
623
add_action( 'jetpack_module_more_info_sso', 'jetpack_sso_more_info' );
624
625
/**
626
 * Monitor support link.
627
 */
628
function jetpack_monitor_more_link() {
629
	echo 'https://jetpack.com/support/monitor/';
630
}
631
add_action( 'jetpack_learn_more_button_monitor', 'jetpack_monitor_more_link' );
632
633
/**
634
 * Monitor description.
635
 */
636
function jetpack_monitor_more_info() {
637
	esc_html_e(
638
		'Jetpack checks your site every five minutes and if any downtime is detected you will receive an email
639
		notification alerting you to the issue, so you can act quickly and get your site back online.',
640
		'jetpack'
641
	);
642
}
643
add_action( 'jetpack_module_more_info_monitor', 'jetpack_monitor_more_info' );
644
645
/**
646
 * Related Posts support link.
647
 */
648
function jetpack_related_posts_more_button() {
649
	echo 'https://jetpack.com/support/related-posts/';
650
}
651
add_action( 'jetpack_learn_more_button_related-posts', 'jetpack_related_posts_more_button' );
652
653
/**
654
 * Related Posts description.
655
 */
656
function jetpack_related_posts_more_info() {
657
	esc_html_e(
658
		'Show visitors related content from your site at the bottom of your posts. This encourages them
659
		to browse more content, explore your site, and transform them into regular readers.',
660
		'jetpack'
661
	);
662
}
663
add_action( 'jetpack_module_more_info_related-posts', 'jetpack_related_posts_more_info' );
664
665
/**
666
 * Markdown support link.
667
 */
668
function jetpack_markdown_more_link() {
669
	echo 'https://jetpack.com/support/markdown/';
670
}
671
add_action( 'jetpack_learn_more_button_markdown', 'jetpack_markdown_more_link' );
672
673
/**
674
 * Markdown description.
675
 */
676
function jetpack_markdown_more_info() {
677
	esc_html_e(
678
		'Compose posts and comments with links, lists, and other styles using regular characters and
679
		punctuation marks. A quick and easy way to format text without needing any HTML or coding.',
680
		'jetpack'
681
	);
682
}
683
add_action( 'jetpack_module_more_info_markdown', 'jetpack_markdown_more_info' );
684
685
/**
686
 * Site Verification Tools support link.
687
 */
688
function jetpack_verification_tools_more_link() {
689
	echo 'https://jetpack.com/support/site-verification-tools/';
690
}
691
add_action( 'jetpack_learn_more_button_verification-tools', 'jetpack_verification_tools_more_link' );
692
693
/**
694
 * Site Verification Tools description.
695
 */
696
function jetpack_verification_tools_more_info() {
697
	esc_html_e(
698
		'Verify your site ownership with services like Google, Bing, Pinterest, and Yandex. This gives you access to
699
		advanced features on these services and get verification badges.',
700
		'jetpack'
701
	);
702
}
703
add_action( 'jetpack_module_more_info_verification-tools', 'jetpack_verification_tools_more_info' );
704
705
/**
706
 * SEO Tools support link.
707
 */
708
function jetpack_seo_tools_more_link() {
709
	echo 'https://jetpack.com/support/seo-tools/';
710
}
711
add_action( 'jetpack_learn_more_button_seo-tools', 'jetpack_seo_tools_more_link' );
712
713
/**
714
 * SEO Tools description.
715
 */
716
function jetpack_seo_tools_more_info() {
717
	esc_html_e(
718
		'Better results on search engines and social media.',
719
		'jetpack'
720
	);
721
}
722
add_action( 'jetpack_module_more_info_seo-tools', 'jetpack_seo_tools_more_info' );
723
724
/**
725
 * Custom Content Types support link.
726
 */
727
function jetpack_custom_content_types_more_link() {
728
	echo 'https://jetpack.com/support/custom-content-types/';
729
}
730
add_action( 'jetpack_learn_more_button_custom-content-types', 'jetpack_custom_content_types_more_link' );
731
732
/**
733
 * Custom Content Types description.
734
 */
735
function jetpack_custom_content_types_more_info() {
736
	esc_html_e(
737
		'Add and organize content that doesn’t necessarily fit into a post or static page such as portfolios
738
		or testimonials. Custom	content can be visible at specific URLs, or you may add them with shortcodes.',
739
		'jetpack'
740
	);
741
}
742
add_action( 'jetpack_module_more_info_custom-content-types', 'jetpack_custom_content_types_more_info' );
743
744
/**
745
 * Manage support link.
746
 */
747
function jetpack_manage_more_link() {
748
	echo 'https://jetpack.com/support/site-management/';
749
}
750
add_action( 'jetpack_learn_more_button_manage', 'jetpack_manage_more_link' );
751
752
/**
753
 * Manage description.
754
 */
755
function jetpack_custom_jetpack_manage() {
756
	esc_html_e(
757
		'Manage and update this and other WordPress sites from one simple dashboard on WordPress.com. You can update
758
		plugins, set them to automatically update, and (de)activate them on a per-site basis or in bulk from
759
		wordpress.com/plugins. You can also use the brand new and mobile-friendly post editor on WordPress.com as well
760
		as view and activate installed themes and create or edit site menus.',
761
		'jetpack'
762
	);
763
}
764
add_action( 'jetpack_module_more_info_manage', 'jetpack_custom_jetpack_manage' );
765
766
/**
767
 * Sitemaps support link.
768
 */
769
function jetpack_sitemaps_more_link() {
770
	echo 'https://jetpack.com/support/sitemaps/';
771
}
772
add_action( 'jetpack_learn_more_button_sitemaps', 'jetpack_sitemaps_more_link' );
773
774
/**
775
 * Sitemaps description.
776
 */
777
function jetpack_xml_sitemap_more_info() {
778
	esc_html_e(
779
		'Automatically create two sitemap files that list the URLs of posts and pages in your site.
780
		This makes it easier for search engines (like Google) to include your site in relevant search results.',
781
		'jetpack'
782
	);
783
}
784
add_action( 'jetpack_module_more_info_sitemaps', 'jetpack_xml_sitemap_more_info' );
785
786
/**
787
 * WordAds support link.
788
 */
789
function jetpack_wordads_more_link() {
790
	echo 'https://wordads.co/';
791
}
792
add_action( 'jetpack_learn_more_button_wordads', 'jetpack_wordads_more_link' );
793
794
/**
795
 * WordAds description.
796
 */
797
function jetpack_wordads_more_info() {
798
	esc_html_e(
799
		'By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!',
800
		'jetpack'
801
	);
802
}
803
add_action( 'jetpack_module_more_info_wordads', 'jetpack_wordads_more_info' );
804
805
/**
806
 * Google Analytics support link.
807
 */
808
function jetpack_google_analytics_more_link() {
809
	echo 'https://jetpack.com/support/google-analytics';
810
}
811
add_action( 'jetpack_learn_more_button_google-analytics', 'jetpack_google_analytics_more_link' );
812
813
/**
814
 * Google Analytics description.
815
 */
816
function jetpack_google_analytics_more_info() {
817
	esc_html_e(
818
		'Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.',
819
		'jetpack'
820
	);
821
}
822
add_action( 'jetpack_module_more_info_google-analytics', 'jetpack_google_analytics_more_info' );
823
824
/**
825
 * WooCommerce Analytics support link.
826
 */
827
function jetpack_woocommerce_analytics_more_link() {
828
	echo 'https://jetpack.com/support/';
829
}
830
add_action( 'jetpack_learn_more_button_woocommerce-analytics', 'jetpack_woocommerce_analytics_more_link' );
831
832
/**
833
 * WooCommerce Analytics description.
834
 */
835
function jetpack_woocommerce_analytics_more_info() {
836
	esc_html_e(
837
		'Enhanced analytics for WooCommerce and Jetpack users.',
838
		'jetpack'
839
	);
840
}
841
add_action( 'jetpack_module_more_info_woocommerce-analytics', 'jetpack_woocommerce_analytics_more_info' );
842
843
/**
844
 * Search support link.
845
 */
846
function jetpack_search_more_link() {
847
	echo 'https://jetpack.com/support/search/';
848
}
849
add_action( 'jetpack_learn_more_button_search', 'jetpack_search_more_link' );
850
851
/**
852
 * Search description.
853
 */
854
function jetpack_search_more_info() {
855
	esc_html_e(
856
		'Enhanced search, powered by Elasticsearch, a powerful replacement for WordPress search.',
857
		'jetpack'
858
	);
859
}
860
add_action( 'jetpack_module_more_info_search', 'jetpack_search_more_info' );
861
862
/**
863
 * Comment Likes support link.
864
 */
865
function jetpack_comment_likes_more_link() {
866
	echo 'https://jetpack.com/support/comment-likes/';
867
}
868
add_action( 'jetpack_learn_more_button_comment-likes', 'jetpack_comment_likes_more_link' );
869
870
/**
871
 * Comment Likes description.
872
 */
873
function jetpack_comment_likes_more_info() {
874
	esc_html_e(
875
		'Increase visitor engagement by adding a Like button to comments.',
876
		'jetpack'
877
	);
878
}
879
add_action( 'jetpack_module_more_info_comment-likes', 'jetpack_comment_likes_more_info' );
880
881
/**
882
 * Progressive Web Apps support link.
883
 */
884
function jetpack_pwa_more_link() {
885
	echo 'https://jetpack.com/support/progressive-web-apps/';
886
}
887
add_action( 'jetpack_learn_more_button_pwa', 'jetpack_pwa_more_link' );
888
889
/**
890
 * Progressive Web Apps description.
891
 */
892
function jetpack_pwa_more_info() {
893
	esc_html_e(
894
		'Speed up and improve the reliability of your site using the latest in web technology.',
895
		'jetpack'
896
	);
897
}
898
add_action( 'jetpack_module_more_info_pwa', 'jetpack_pwa_more_info' );
899
900
/**
901
 * Asset CDN support link.
902
 */
903
function jetpack_assetcdn_more_link() {
904
	echo 'https://jetpack.com/support/asset-cdn/';
905
}
906
add_action( 'jetpack_learn_more_button_photon-cdn', 'jetpack_assetcdn_more_link' );
907
908
/**
909
 * Asset CDN description.
910
 */
911
function jetpack_assetcdn_more_info() {
912
	esc_html_e(
913
		'Our asset CDN is a site acceleration service.
914
		That means that we host static assets like JavaScript and CSS shipped with WordPress Core and Jetpack from our servers, alleviating the load on your server.',
915
		'jetpack'
916
	);
917
}
918
add_action( 'jetpack_module_more_info_photon-cdn', 'jetpack_assetcdn_more_info' );
919
920
/**
921
 * Copy Post support link.
922
 */
923
function jetpack_copy_post_more_link() {
924
	echo 'https://jetpack.com/support/copy-post-2/';
925
}
926
add_action( 'jetpack_learn_more_button_copy-post', 'jetpack_copy_post_more_link' );
927
928
/**
929
 * Copy Post description.
930
 */
931
function jetpack_more_info_copy_post() {
932
	esc_html_e( 'Create a new post based on an existing post.', 'jetpack' );
933
}
934
add_action( 'jetpack_module_more_info_copy-post', 'jetpack_more_info_copy_post' );
935