Completed
Push — rm/latex-module ( 84db6c )
by Jeremy
08:01
created

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