Completed
Push — try/move-comment-likes-to-pack... ( 991482...c45bea )
by
unknown
32:15 queued 26:01
created

module-info.php ➔ jetpack_pwa_more_link()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
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 'https://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
 * Extra Sidebar Widgets support link.
202
 */
203
function jetpack_widgets_load_more_link() {
204
	echo 'https://jetpack.com/support/extra-sidebar-widgets/';
205
}
206
add_filter( 'jetpack_learn_more_button_widgets', 'jetpack_widgets_load_more_link' );
207
208
/**
209
 * Extra Sidebar Widgets description.
210
 */
211
function jetpack_widgets_more_info() {
212
	esc_html_e(
213
		'Add as many custom widgets as you like by dragging and dropping and customize each to fit your needs,
214
		including, Twitter streams, Facebook like boxes, custom images, Gravatars, tiled galleries, recent posts,
215
		or social icons.',
216
		'jetpack'
217
	);
218
}
219
add_action( 'jetpack_module_more_info_widgets', 'jetpack_widgets_more_info' );
220
221
/**
222
 * Subscriptions support link.
223
 */
224
function jetpack_subscriptions_load_more_link() {
225
	echo 'https://jetpack.com/support/subscriptions/';
226
}
227
add_action( 'jetpack_learn_more_button_subscriptions', 'jetpack_subscriptions_load_more_link' );
228
229
/**
230
 * Subscriptions description.
231
 */
232
function jetpack_subscriptions_more_info() {
233
	esc_html_e(
234
		'A widget in your sidebar allows visitors to subscribe to your site so that they receive an email
235
		each time you publish new content. Your visitors can also subscribe to a post\'s comments to keep up with the conversation.',
236
		'jetpack'
237
	);
238
}
239
add_action( 'jetpack_module_more_info_subscriptions', 'jetpack_subscriptions_more_info' );
240
241
/**
242
 * Enhanced Distribution support link.
243
 */
244
function jetpack_enhanced_distribution_more_link() {
245
	echo 'https://jetpack.com/support/enhanced-distribution/';
246
}
247
add_action( 'jetpack_learn_more_button_enhanced-distribution', 'jetpack_enhanced_distribution_more_link' );
248
249
/**
250
 * Enhanced Distribution description.
251
 */
252
function jetpack_enhanced_distribution_more_info() {
253
	esc_html_e(
254
		'Jetpack will automatically take your great published content and share it instantly with third-party services
255
		like search engines, increasing your reach and traffic.',
256
		'jetpack'
257
	);
258
}
259
add_action( 'jetpack_module_more_info_enhanced-distribution', 'jetpack_enhanced_distribution_more_info' );
260
261
262
/**
263
 * Protect support link.
264
 */
265
function jetpack_protect_more_link() {
266
	echo 'https://jetpack.com/support/protect/';
267
}
268
add_action( 'jetpack_learn_more_button_protect', 'jetpack_protect_more_link' );
269
270
/**
271
 * Protect description.
272
 */
273
function jetpack_protect_more_info() {
274
	esc_html_e(
275
		'Most sites will come under attack from automated bots that attempt to log in for malicious purposes.
276
		We protect you automatically from unauthorized access by using data from millions of sites.',
277
		'jetpack'
278
	);
279
}
280
281
add_action( 'jetpack_module_more_info_protect', 'jetpack_protect_more_info' );
282
283
/**
284
 * JSON API support link.
285
 */
286
function jetpack_json_api_more_link() {
287
	echo 'https://jetpack.com/support/json-api/';
288
}
289
add_action( 'jetpack_learn_more_button_json-api', 'jetpack_json_api_more_link' );
290
291
/**
292
 * JSON API description.
293
 */
294
function jetpack_json_api_more_info() {
295
	esc_html_e(
296
		'Authorize applications and services to securely connect to your site. Developers can use WordPress.com\'s OAuth2
297
		authentication system and WordPress.com REST API to manage and access your site\'s content.',
298
		'jetpack'
299
	);
300
}
301
add_action( 'jetpack_module_more_info_json-api', 'jetpack_json_api_more_info' );
302
303
/**
304
 * Contact Form support link.
305
 */
306
function jetpack_contact_form_learn_more_button() {
307
	echo 'https://jetpack.com/support/contact-form/';
308
}
309
add_action( 'jetpack_learn_more_button_contact-form', 'jetpack_contact_form_learn_more_button' );
310
311
/**
312
 * Contact Form description.
313
 */
314
function jetpack_contact_form_more_info() {
315
	esc_html_e(
316
		'Create simple contact forms without any coding. You can have multiple forms and when
317
		a user submits it, their feedback will be emailed directly to you. If Akismet is active, submissions will be
318
		automatically filtered for spam.',
319
		'jetpack'
320
	);
321
}
322
add_action( 'jetpack_module_more_info_contact-form', 'jetpack_contact_form_more_info' );
323
324
/**
325
 * Comments support link.
326
 */
327
function jetpack_comments_learn_more_button() {
328
	echo 'https://jetpack.com/support/comments';
329
}
330
add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' );
331
332
/**
333
 * Comments description.
334
 */
335
function jetpack_comments_more_info() {
336
	esc_html_e(
337
		'Allow visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on
338
		your site. Jetpack will match your site\'s color scheme automatically (but you can adjust that).',
339
		'jetpack'
340
	);
341
}
342
add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' );
343
344
/**
345
 * Carousel support link.
346
 */
347
function jetpack_carousel_learn_more_button() {
348
	echo 'https://jetpack.com/support/carousel';
349
}
350
add_action( 'jetpack_learn_more_button_carousel', 'jetpack_carousel_learn_more_button' );
351
352
/**
353
 * Carousel description.
354
 */
355
function jetpack_carousel_more_info() {
356
	esc_html_e(
357
		'With Carousel active, any standard WordPress galleries or single images you have embedded in posts or pages will
358
		launch a full-screen photo browsing experience with comments and EXIF metadata.',
359
		'jetpack'
360
	);
361
}
362
add_action( 'jetpack_module_more_info_carousel', 'jetpack_carousel_more_info' );
363
364
/**
365
 * Custom CSS support link.
366
 */
367
function jetpack_custom_css_more_button() {
368
	echo 'https://jetpack.com/support/custom-css';
369
}
370
add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' );
371
372
/**
373
 * Custom CSS description.
374
 */
375
function jetpack_custom_css_more_info() {
376
	esc_html_e(
377
		"Add to or replace your theme's CSS including mobile styles, LESS, and SaSS.
378
		Includes syntax coloring, auto-indentation, and immediate CSS validation.",
379
		'jetpack'
380
	);
381
}
382
add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' );
383
384
/**
385
 * Masterbar support link.
386
 */
387
function jetpack_masterbar_more_link() {
388
	echo 'https://jetpack.com/support/masterbar/';
389
}
390
add_action( 'jetpack_learn_more_button_masterbar', 'jetpack_masterbar_more_link' );
391
392
/**
393
 * Masterbar description.
394
 */
395
function jetpack_masterbar_more_info() {
396
	esc_html_e(
397
		'Quickly access your Stats, Notifications, Posts and more on WordPress.com.
398
		The Toolbar is displayed for any user on the site that is connected to WordPress.com.',
399
		'jetpack'
400
	);
401
}
402
add_action( 'jetpack_module_more_info_masterbar', 'jetpack_masterbar_more_info' );
403
404
/**
405
 * Mobile Theme support link.
406
 */
407
function jetpack_minileven_more_button() {
408
	echo 'https://jetpack.com/support/mobile-theme';
409
}
410
add_action( 'jetpack_learn_more_button_minileven', 'jetpack_minileven_more_button' );
411
412
/**
413
 * Mobile Theme description.
414
 */
415
function jetpack_minileven_more_info() {
416
	esc_html_e(
417
		"Automatically optimize your site for mobile. Jetpack's mobile theme uses the header image,
418
		background, and widgets from your current theme. Post format support means your photos and galleries
419
		will also look fantastic.",
420
		'jetpack'
421
	);
422
}
423
add_action( 'jetpack_module_more_info_minileven', 'jetpack_minileven_more_info' );
424
425
/**
426
 * Infinite Scroll support link.
427
 */
428
function jetpack_infinite_scroll_more_button() {
429
	echo 'https://jetpack.com/support/infinite-scroll';
430
}
431
add_action( 'jetpack_learn_more_button_infinite-scroll', 'jetpack_infinite_scroll_more_button' );
432
433
/**
434
 * Infinite Scroll description.
435
 */
436
function jetpack_infinite_scroll_more_info() {
437
	esc_html_e(
438
		'Infinite scrolling pulls the next set of posts automatically into view when the reader approaches
439
		the bottom of the page. This helps you reader see more of your content.',
440
		'jetpack'
441
	);
442
}
443
add_action( 'jetpack_module_more_info_infinite-scroll', 'jetpack_infinite_scroll_more_info' );
444
445
/**
446
 * Post by Email support link.
447
 */
448
function jetpack_post_by_email_more_link() {
449
	echo 'https://jetpack.com/support/post-by-email/';
450
}
451
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
452
453
/**
454
 * Post by Email description.
455
 */
456
function jetpack_post_by_email_more_info() {
457
	esc_html_e(
458
		'Publish posts on your site by writing and sending an email from any email client instead of using the post editor.',
459
		'jetpack'
460
	);
461
}
462
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
463
464
/**
465
 * Photon support link.
466
 */
467
function jetpack_photon_more_link() {
468
	echo 'https://jetpack.com/support/photon';
469
}
470
add_action( 'jetpack_learn_more_button_photon', 'jetpack_photon_more_link' );
471
472
/**
473
 * Photon description.
474
 */
475
function jetpack_photon_more_info() {
476
	esc_html_e(
477
		'Jetpack will optimize your images and serve them from the server location nearest
478
		to your visitors. Using our global content delivery network will boost the loading speed of your site.',
479
		'jetpack'
480
	);
481
}
482
add_action( 'jetpack_module_more_info_photon', 'jetpack_photon_more_info' );
483
484
/**
485
 * Lazy Images support link.
486
 */
487
function jetpack_lazy_images_more_link() {
488
	echo 'https://jetpack.com/support/lazy-images/';
489
}
490
add_action( 'jetpack_learn_more_button_lazy-images', 'jetpack_lazy_images_more_link' );
491
492
/**
493
 * Lazy Images description.
494
 */
495
function jetpack_lazy_images_more_info() {
496
	esc_html_e(
497
		'Improve your site\'s speed by only loading images visible on the screen.
498
		New images will load just before they scroll into view. This prevents viewers
499
		from having to download all the images on a page all at once, even ones they can\'t see.',
500
		'jetpack'
501
	);
502
}
503
add_action( 'jetpack_module_more_info_lazy-images', 'jetpack_lazy_images_more_info' );
504
505
/**
506
 * Tiled Galleries support link.
507
 */
508
function jetpack_tiled_gallery_more_link() {
509
	echo 'https://jetpack.com/support/tiled-galleries/';
510
}
511
add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' );
512
513
/**
514
 * Tiled Galleries description.
515
 */
516
function jetpack_tiled_gallery_more_info() {
517
	esc_html_e(
518
		'When adding an image gallery, you will have the option to create elegant magazine-style mosaic layouts for your photos,
519
		including mosaic (default), square, and circular layouts.',
520
		'jetpack'
521
	);
522
}
523
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' );
524
525
/**
526
 * Widget Visibility support link.
527
 */
528
function jetpack_widget_visibility_more_link() {
529
	echo 'https://jetpack.com/support/widget-visibility/';
530
}
531
add_action( 'jetpack_learn_more_button_widget-visibility', 'jetpack_widget_visibility_more_link' );
532
533
/**
534
 * Widget Visibility description.
535
 */
536
function jetpack_widget_visibility_more_info() {
537
	esc_html_e(
538
		'Choose from a set of visibility options for sidebar widgets such as showing them only certain categories,
539
		only on error pages, or only search results pages. You can also do the reverse and choose to hide them on certain pages.',
540
		'jetpack'
541
	);
542
}
543
add_action( 'jetpack_module_more_info_widget-visibility', 'jetpack_widget_visibility_more_info' );
544
545
/**
546
 * VideoPress support link.
547
 */
548
function jetpack_videopress_more_link() {
549
	echo 'https://jetpack.com/support/videopress/';
550
}
551
add_action( 'jetpack_learn_more_button_videopress', 'jetpack_videopress_more_link' );
552
553
/**
554
 * VideoPress description.
555
 */
556
function jetpack_videopress_more_info() {
557
	esc_html_e(
558
		'The easiest way to upload ad-free and unbranded videos to your site. You get stats on video
559
		playback and shares and the player is lightweight and responsive.',
560
		'jetpack'
561
	);
562
}
563
add_action( 'jetpack_module_more_info_videopress', 'jetpack_videopress_more_info' );
564
565
/**
566
 * SSO support link.
567
 */
568
function jetpack_sso_more_link() {
569
	echo 'https://jetpack.com/support/sso/';
570
}
571
add_action( 'jetpack_learn_more_button_sso', 'jetpack_sso_more_link' );
572
573
/**
574
 * SSO description.
575
 */
576
function jetpack_sso_more_info() {
577
	esc_html_e(
578
		'Your users will be able to log in to your site with their WordPress.com account.
579
		This includes two-factor authentication making it the safest login mechanism for your site.',
580
		'jetpack'
581
	);
582
}
583
add_action( 'jetpack_module_more_info_sso', 'jetpack_sso_more_info' );
584
585
/**
586
 * Monitor support link.
587
 */
588
function jetpack_monitor_more_link() {
589
	echo 'https://jetpack.com/support/monitor/';
590
}
591
add_action( 'jetpack_learn_more_button_monitor', 'jetpack_monitor_more_link' );
592
593
/**
594
 * Monitor description.
595
 */
596
function jetpack_monitor_more_info() {
597
	esc_html_e(
598
		'Jetpack checks your site every five minutes and if any downtime is detected you will receive an email
599
		notification alerting you to the issue, so you can act quickly and get your site back online.',
600
		'jetpack'
601
	);
602
}
603
add_action( 'jetpack_module_more_info_monitor', 'jetpack_monitor_more_info' );
604
605
/**
606
 * Related Posts support link.
607
 */
608
function jetpack_related_posts_more_button() {
609
	echo 'https://jetpack.com/support/related-posts/';
610
}
611
add_action( 'jetpack_learn_more_button_related-posts', 'jetpack_related_posts_more_button' );
612
613
/**
614
 * Related Posts description.
615
 */
616
function jetpack_related_posts_more_info() {
617
	esc_html_e(
618
		'Show visitors related content from your site at the bottom of your posts. This encourages them
619
		to browse more content, explore your site, and transform them into regular readers.',
620
		'jetpack'
621
	);
622
}
623
add_action( 'jetpack_module_more_info_related-posts', 'jetpack_related_posts_more_info' );
624
625
/**
626
 * Markdown support link.
627
 */
628
function jetpack_markdown_more_link() {
629
	echo 'https://jetpack.com/support/markdown/';
630
}
631
add_action( 'jetpack_learn_more_button_markdown', 'jetpack_markdown_more_link' );
632
633
/**
634
 * Markdown description.
635
 */
636
function jetpack_markdown_more_info() {
637
	esc_html_e(
638
		'Compose posts and comments with links, lists, and other styles using regular characters and
639
		punctuation marks. A quick and easy way to format text without needing any HTML or coding.',
640
		'jetpack'
641
	);
642
}
643
add_action( 'jetpack_module_more_info_markdown', 'jetpack_markdown_more_info' );
644
645
/**
646
 * Site Verification Tools support link.
647
 */
648
function jetpack_verification_tools_more_link() {
649
	echo 'https://jetpack.com/support/site-verification-tools/';
650
}
651
add_action( 'jetpack_learn_more_button_verification-tools', 'jetpack_verification_tools_more_link' );
652
653
/**
654
 * Site Verification Tools description.
655
 */
656
function jetpack_verification_tools_more_info() {
657
	esc_html_e(
658
		'Verify your site ownership with services like Google, Bing, Pinterest, and Yandex. This gives you access to
659
		advanced features on these services and get verification badges.',
660
		'jetpack'
661
	);
662
}
663
add_action( 'jetpack_module_more_info_verification-tools', 'jetpack_verification_tools_more_info' );
664
665
/**
666
 * SEO Tools support link.
667
 */
668
function jetpack_seo_tools_more_link() {
669
	echo 'https://jetpack.com/support/seo-tools/';
670
}
671
add_action( 'jetpack_learn_more_button_seo-tools', 'jetpack_seo_tools_more_link' );
672
673
/**
674
 * SEO Tools description.
675
 */
676
function jetpack_seo_tools_more_info() {
677
	esc_html_e(
678
		'Better results on search engines and social media.',
679
		'jetpack'
680
	);
681
}
682
add_action( 'jetpack_module_more_info_seo-tools', 'jetpack_seo_tools_more_info' );
683
684
/**
685
 * Custom Content Types support link.
686
 */
687
function jetpack_custom_content_types_more_link() {
688
	echo 'https://jetpack.com/support/custom-content-types/';
689
}
690
add_action( 'jetpack_learn_more_button_custom-content-types', 'jetpack_custom_content_types_more_link' );
691
692
/**
693
 * Custom Content Types description.
694
 */
695
function jetpack_custom_content_types_more_info() {
696
	esc_html_e(
697
		'Add and organize content that doesn’t necessarily fit into a post or static page such as portfolios
698
		or testimonials. Custom	content can be visible at specific URLs, or you may add them with shortcodes.',
699
		'jetpack'
700
	);
701
}
702
add_action( 'jetpack_module_more_info_custom-content-types', 'jetpack_custom_content_types_more_info' );
703
704
/**
705
 * Manage support link.
706
 */
707
function jetpack_manage_more_link() {
708
	echo 'https://jetpack.com/support/site-management/';
709
}
710
add_action( 'jetpack_learn_more_button_manage', 'jetpack_manage_more_link' );
711
712
/**
713
 * Manage description.
714
 */
715
function jetpack_custom_jetpack_manage() {
716
	esc_html_e(
717
		'Manage and update this and other WordPress sites from one simple dashboard on WordPress.com. You can update
718
		plugins, set them to automatically update, and (de)activate them on a per-site basis or in bulk from
719
		wordpress.com/plugins. You can also use the brand new and mobile-friendly post editor on WordPress.com as well
720
		as view and activate installed themes and create or edit site menus.',
721
		'jetpack'
722
	);
723
}
724
add_action( 'jetpack_module_more_info_manage', 'jetpack_custom_jetpack_manage' );
725
726
/**
727
 * Sitemaps support link.
728
 */
729
function jetpack_sitemaps_more_link() {
730
	echo 'https://jetpack.com/support/sitemaps/';
731
}
732
add_action( 'jetpack_learn_more_button_sitemaps', 'jetpack_sitemaps_more_link' );
733
734
/**
735
 * Sitemaps description.
736
 */
737
function jetpack_xml_sitemap_more_info() {
738
	esc_html_e(
739
		'Automatically create two sitemap files that list the URLs of posts and pages in your site.
740
		This makes it easier for search engines (like Google) to include your site in relevant search results.',
741
		'jetpack'
742
	);
743
}
744
add_action( 'jetpack_module_more_info_sitemaps', 'jetpack_xml_sitemap_more_info' );
745
746
/**
747
 * WordAds support link.
748
 */
749
function jetpack_wordads_more_link() {
750
	echo 'https://wordads.co/';
751
}
752
add_action( 'jetpack_learn_more_button_wordads', 'jetpack_wordads_more_link' );
753
754
/**
755
 * WordAds description.
756
 */
757
function jetpack_wordads_more_info() {
758
	esc_html_e(
759
		'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!',
760
		'jetpack'
761
	);
762
}
763
add_action( 'jetpack_module_more_info_wordads', 'jetpack_wordads_more_info' );
764
765
/**
766
 * Google Analytics support link.
767
 */
768
function jetpack_google_analytics_more_link() {
769
	echo 'https://jetpack.com/support/google-analytics';
770
}
771
add_action( 'jetpack_learn_more_button_google-analytics', 'jetpack_google_analytics_more_link' );
772
773
/**
774
 * Google Analytics description.
775
 */
776
function jetpack_google_analytics_more_info() {
777
	esc_html_e(
778
		'Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.',
779
		'jetpack'
780
	);
781
}
782
add_action( 'jetpack_module_more_info_google-analytics', 'jetpack_google_analytics_more_info' );
783
784
/**
785
 * WooCommerce Analytics support link.
786
 */
787
function jetpack_woocommerce_analytics_more_link() {
788
	echo 'https://jetpack.com/support/';
789
}
790
add_action( 'jetpack_learn_more_button_woocommerce-analytics', 'jetpack_woocommerce_analytics_more_link' );
791
792
/**
793
 * WooCommerce Analytics description.
794
 */
795
function jetpack_woocommerce_analytics_more_info() {
796
	esc_html_e(
797
		'Enhanced analytics for WooCommerce and Jetpack users.',
798
		'jetpack'
799
	);
800
}
801
add_action( 'jetpack_module_more_info_woocommerce-analytics', 'jetpack_woocommerce_analytics_more_info' );
802
803
/**
804
 * Search support link.
805
 */
806
function jetpack_search_more_link() {
807
	echo 'https://jetpack.com/support/search/';
808
}
809
add_action( 'jetpack_learn_more_button_search', 'jetpack_search_more_link' );
810
811
/**
812
 * Search description.
813
 */
814
function jetpack_search_more_info() {
815
	esc_html_e(
816
		'Enhanced search, powered by Elasticsearch, a powerful replacement for WordPress search.',
817
		'jetpack'
818
	);
819
}
820
add_action( 'jetpack_module_more_info_search', 'jetpack_search_more_info' );
821
822
/**
823
 * Asset CDN support link.
824
 */
825
function jetpack_assetcdn_more_link() {
826
	echo 'https://jetpack.com/support/asset-cdn/';
827
}
828
add_action( 'jetpack_learn_more_button_photon-cdn', 'jetpack_assetcdn_more_link' );
829
830
/**
831
 * Asset CDN description.
832
 */
833
function jetpack_assetcdn_more_info() {
834
	esc_html_e(
835
		'Our asset CDN is a site acceleration service.
836
		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.',
837
		'jetpack'
838
	);
839
}
840
add_action( 'jetpack_module_more_info_photon-cdn', 'jetpack_assetcdn_more_info' );
841
842
/**
843
 * Copy Post support link.
844
 */
845
function jetpack_copy_post_more_link() {
846
	echo 'https://jetpack.com/support/copy-post-2/';
847
}
848
add_action( 'jetpack_learn_more_button_copy-post', 'jetpack_copy_post_more_link' );
849
850
/**
851
 * Copy Post description.
852
 */
853
function jetpack_more_info_copy_post() {
854
	esc_html_e( 'Create a new post based on an existing post.', 'jetpack' );
855
}
856
add_action( 'jetpack_module_more_info_copy-post', 'jetpack_more_info_copy_post' );
857