Completed
Push — update/jpo-enable-widgets-no-l... ( aec52b...d1cfbf )
by
unknown
12:53 queued 03:29
created

module-info.php ➔ jetpack_lazy_images_more_info()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 7
rs 9.4285
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
12
/**
13
 *  VaultPress (stub)
14
 */
15
function vaultpress_jetpack_load_more_link() {
16
	echo 'https://help.vaultpress.com/get-to-know/';
17
}
18
add_filter( 'jetpack_learn_more_button_vaultpress', 'vaultpress_jetpack_load_more_link' );
19
20
function vaultpress_jetpack_more_info() {
21
	esc_html_e(
22
		'We keep a daily or real-time backup of your site so that when mistakes or accidents occur, restoring your
23
		site to any location takes a matter of minutes. Your site’s files are regularly scanned for unauthorized or
24
		suspicious modifications that could compromise your security and data. In many cases, we can fix them
25
		automatically (and will notify you). When we can’t, we provide you with expert support.'
26
		, 'jetpack' );
27
}
28
add_action( 'jetpack_module_more_info_vaultpress', 'vaultpress_jetpack_more_info' );
29
30
/**
31
 * Gravatar Hovercards
32
 */
33
function grofiles_load_more_link() {
34
	echo 'https://jetpack.com/support/gravatar-hovercards/';
35
}
36
add_filter( 'jetpack_learn_more_button_gravatar-hovercards', 'grofiles_load_more_link' );
37
38
function grofiles_more_info() { ?>
39
	<?php esc_html_e(
40
		'Enhance plain Gravatar images with information about a person (including a name,
41
		bio, pictures, and contact info) when they leave a comment on one of your posts.'
42
		, 'jetpack' );
43
}
44
add_action( 'jetpack_module_more_info_gravatar-hovercards', 'grofiles_more_info' );
45
46
/**
47
 * Shortcodes
48
 */
49
function jetpack_shortcodes_load_more_link() {
50
	echo 'https://jetpack.com/support/shortcode-embeds/';
51
}
52
add_filter( 'jetpack_learn_more_button_shortcodes', 'jetpack_shortcodes_load_more_link' );
53
54
function jetpack_shortcodes_more_info() { ?>
55
	<?php esc_html_e(
56
		'Easily and safely embed media from YouTube, Facebook, Flickr, Vimeo, Instagram,
57
		Google Maps, SlideShare, Vine, SoundCloud, and more. Just enter the appropriate shortcode directly into the
58
		editor and click “Publish.”'
59
		, 'jetpack' );
60
}
61
add_action( 'jetpack_module_more_info_shortcodes', 'jetpack_shortcodes_more_info' );
62
63
/**
64
 * Shortlinks
65
 */
66
function wpme_load_more_link() {
67
	echo 'http://wp.me/p1moTy-DL';
68
}
69
add_filter( 'jetpack_learn_more_button_shortlinks', 'wpme_load_more_link' );
70
71
function wpme_more_info() { ?>
72
	<?php esc_html_e(
73
		'Grab short and simple links to your posts and pages using the compact wp.me domain name. Perfect
74
		for use on Twitter, Facebook, and in text messages where every character counts.'
75
		, 'jetpack' );
76
}
77
add_action( 'jetpack_module_more_info_shortlinks', 'wpme_more_info' );
78
79
/**
80
 * Site Stats
81
 */
82
function stats_load_more_link() {
83
	echo 'https://jetpack.com/support/wordpress-com-stats/';
84
}
85
add_filter( 'jetpack_learn_more_button_stats', 'stats_load_more_link' );
86
87
function stats_more_info() { ?>
88
	<?php esc_html_e(
89
		'Simple and concise statistics about your traffic. Jetpack collects data about pageviews, likes, comments,
90
		locations, and top posts. View them in your dashboard or on WordPress.com.'
91
		, 'jetpack' );
92
}
93
add_action( 'jetpack_module_more_info_stats', 'stats_more_info' );
94
95
/**
96
 * Publicize
97
 */
98
function publicize_load_more_link() {
99
	echo 'https://jetpack.com/support/publicize/';
100
}
101
add_filter( 'jetpack_learn_more_button_publicize', 'publicize_load_more_link' );
102
103
function publicize_more_info() { ?>
104
	<?php esc_html_e(
105
		'Automatically share and promote newly published posts to Facebook, Twitter, Tumblr, Google+, Path,
106
		and LinkedIn. You can add connections for yourself or for all users on your site.'
107
		, 'jetpack' );
108
}
109
add_action( 'jetpack_module_more_info_publicize', 'publicize_more_info' );
110
111
/**
112
 * Notifications
113
 */
114
function notes_load_more_link() {
115
	echo 'https://jetpack.com/support/notifications/';
116
}
117
add_filter( 'jetpack_learn_more_button_notes', 'notes_load_more_link' );
118
119
function notes_more_info() { ?>
120
	<?php esc_html_e(
121
		'You will receive instant notifications in your dashboard or your mobile device when somebody comments
122
		on any of your sites. Reply directly wherever you are to keep the conversation going.'
123
		, 'jetpack' );
124
}
125
add_filter( 'jetpack_module_more_info_notes', 'notes_more_info' );
126
127
/**
128
 * LaTeX
129
 */
130
function latex_load_more_link() {
131
	echo 'https://jetpack.com/support/beautiful-math-with-latex/';
132
}
133
add_filter( 'jetpack_learn_more_button_latex', 'latex_load_more_link' );
134
135
function latex_more_info() { ?>
136
	<?php printf( esc_html__(
137
		'%1$s is a powerful markup language for writing complex mathematical equations and formulas.
138
		Jetpack combines the power of %1$s and the simplicity of WordPress to give you the ultimate
139
		in math blogging platforms. Use $latex your latex code here$ or [latex]your latex code here[/latex]
140
		to include  in your posts and comments. Enjoy all sorts of options and embrace your inner nerd.'
141
		, 'jetpack' )
142
		, '<a href="http://www.latex-project.org/" target="_blank"><img src="//s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=transparent&amp;fg=000&amp;s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" /></a>'
143
	); ?>
144
<?php
145
}
146
add_action( 'jetpack_module_more_info_latex', 'latex_more_info' );
147
148
/**
149
 * Sharing
150
 */
151
function sharedaddy_load_more_link() {
152
	echo 'https://jetpack.com/support/sharing/';
153
}
154
add_filter( 'jetpack_learn_more_button_sharedaddy', 'sharedaddy_load_more_link' );
155
156
function sharedaddy_more_info() { ?>
157
	<?php esc_html_e(
158
		'Visitors can share your posts with Twitter, Facebook, Reddit, Digg, LinkedIn, Google+, print,
159
		and email. You can configure services to appear as icons, text, or both and some services like Twitter
160
		have additional options.'
161
		, 'jetpack' );
162
}
163
add_action( 'jetpack_module_more_info_sharedaddy', 'sharedaddy_more_info' );
164
165
/**
166
 * After The Deadline
167
 */
168
function jpatd_load_more_link() {
169
	echo 'https://jetpack.com/support/spelling-and-grammar/';
170
}
171
add_filter( 'jetpack_learn_more_button_after-the-deadline', 'jpatd_load_more_link' );
172
173
function jpatd_more_info() { ?>
174
	<?php esc_html_e(
175
		'The After the Deadline proofreading service improves your writing by using artificial intelligence to
176
		find spelling and grammatical errors and offers smart suggestions.'
177
		, 'jetpack' );
178
}
179
add_action( 'jetpack_module_more_info_after-the-deadline', 'jpatd_more_info' );
180
181
/**
182
 * Extra Sidebar Widgets
183
 */
184
function jetpack_widgets_load_more_link() {
185
	echo 'https://jetpack.com/support/extra-sidebar-widgets/';
186
}
187
add_filter( 'jetpack_learn_more_button_widgets', 'jetpack_widgets_load_more_link' );
188
189
function jetpack_widgets_more_info() { ?>
190
	<?php esc_html_e(
191
		'Add as many custom widgets as you like by dragging and dropping and customize each to fit your needs,
192
		including, Twitter streams, Facebook like boxes, custom images, Gravatars, tiled galleries, recent posts,
193
		or social icons.'
194
		, 'jetpack' );
195
}
196
add_action( 'jetpack_module_more_info_widgets', 'jetpack_widgets_more_info' );
197
198
/**
199
 * Subscriptions
200
 */
201
function jetpack_subscriptions_load_more_link() {
202
	echo 'https://jetpack.com/support/subscriptions/';
203
}
204
add_action( 'jetpack_learn_more_button_subscriptions', 'jetpack_subscriptions_load_more_link' );
205
206
function jetpack_subscriptions_more_info() { ?>
207
	<?php esc_html_e(
208
		'A widget in your sidebar allows visitors to subscribe to your site so that they receive an email
209
		each time you publish new content. Your visitors can also subscribe to a post\'s comments to keep up with the conversation.'
210
		, 'jetpack' );
211
}
212
add_action( 'jetpack_module_more_info_subscriptions', 'jetpack_subscriptions_more_info' );
213
214
/**
215
 * Enhanced Distribution
216
 */
217
function jetpack_enhanced_distribution_more_link() {
218
	echo 'https://jetpack.com/support/enhanced-distribution/';
219
}
220
add_action( 'jetpack_learn_more_button_enhanced-distribution', 'jetpack_enhanced_distribution_more_link' );
221
222
function jetpack_enhanced_distribution_more_info() {
223
	esc_html_e(
224
		'Jetpack will automatically take your great published content and share it instantly with third-party services
225
		like search engines, increasing your reach and traffic.'
226
		, 'jetpack' );
227
}
228
add_action( 'jetpack_module_more_info_enhanced-distribution', 'jetpack_enhanced_distribution_more_info' );
229
230
231
/**
232
 * Protect
233
 */
234
function jetpack_protect_more_link() {
235
	echo 'https://jetpack.com/support/protect/';
236
}
237
add_action( 'jetpack_learn_more_button_protect', 'jetpack_protect_more_link' );
238
239
function jetpack_protect_more_info() {
240
	esc_html_e(
241
		'Most sites will come under attack from automated bots that attempt to log in for malicious purposes.
242
		We protect you automatically from unauthorized access by using data from millions of sites.'
243
		, 'jetpack' );
244
}
245
246
add_action( 'jetpack_module_more_info_protect', 'jetpack_protect_more_info' );
247
248
/**
249
 * JSON API
250
 */
251
function jetpack_json_api_more_link() {
252
	echo 'https://jetpack.com/support/json-api/';
253
}
254
add_action( 'jetpack_learn_more_button_json-api', 'jetpack_json_api_more_link' );
255
256
function jetpack_json_api_more_info() {
257
	esc_html_e(
258
		'Authorize applications and services to securely connect to your site. Developers can use WordPress.com\'s OAuth2
259
		authentication system and WordPress.com REST API to manage and access your site\'s content.'
260
		, 'jetpack' );
261
}
262
add_action( 'jetpack_module_more_info_json-api', 'jetpack_json_api_more_info' );
263
264
265
/**
266
 * Contact Form
267
 */
268
function jetpack_contact_form_learn_more_button() {
269
	echo 'https://jetpack.com/support/contact-form/';
270
}
271
add_action( 'jetpack_learn_more_button_contact-form', 'jetpack_contact_form_learn_more_button' );
272
273
function jetpack_contact_form_more_info() { ?>
274
	<?php esc_html_e(
275
		'Create simple contact forms without any coding. You can have multiple forms and when
276
		a user submits it, their feedback will be emailed directly to you. If Akismet is active, submissions will be
277
		automatically filtered for spam.'
278
		, 'jetpack' );
279
}
280
add_action( 'jetpack_module_more_info_contact-form', 'jetpack_contact_form_more_info' );
281
282
283
/**
284
 * Comments
285
 */
286
function jetpack_comments_learn_more_button() {
287
	echo 'https://jetpack.com/support/comments';
288
}
289
add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' );
290
291
function jetpack_comments_more_info() { ?>
292
	<?php esc_html_e(
293
		'Allow visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on
294
		your site. Jetpack will match your site\'s color scheme automatically (but you can adjust that).'
295
		, 'jetpack' );
296
}
297
add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' );
298
299
/**
300
 * Carousel
301
 */
302
function jetpack_carousel_learn_more_button() {
303
	echo 'https://jetpack.com/support/carousel';
304
}
305
add_action( 'jetpack_learn_more_button_carousel', 'jetpack_carousel_learn_more_button' );
306
307
function jetpack_carousel_more_info() { ?>
308
	<?php esc_html_e(
309
		'With Carousel active, any standard WordPress galleries or single images you have embedded in posts or pages will
310
		launch a full-screen photo browsing experience with comments and EXIF metadata.'
311
		, 'jetpack' ); ?>
312
<?php
313
}
314
add_action( 'jetpack_module_more_info_carousel', 'jetpack_carousel_more_info' );
315
316
/**
317
 * Custom CSS
318
 */
319
function jetpack_custom_css_more_button() {
320
	echo 'https://jetpack.com/support/custom-css';
321
}
322
add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' );
323
324
function jetpack_custom_css_more_info() { ?>
325
	<?php esc_html_e(
326
		"Add to or replace your theme's CSS including mobile styles, LESS, and SaSS.
327
		Includes syntax coloring, auto-indentation, and immediate CSS validation."
328
		, 'jetpack' );
329
}
330
add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' );
331
332
333
/**
334
 * Masterbar
335
 */
336
function jetpack_masterbar_more_link() {
337
	echo 'https://jetpack.com/support/masterbar/';
338
}
339
add_action( 'jetpack_learn_more_button_masterbar', 'jetpack_masterbar_more_link' );
340
341
function jetpack_masterbar_more_info() {
342
	esc_html_e(
343
		"Quickly access your Stats, Notifications, Posts and more on WordPress.com. " .
344
		"The Toolbar is displayed for any user on the site that is connected to WordPress.com."
345
		, 'jetpack' );
346
}
347
add_action( 'jetpack_module_more_info_masterbar', 'jetpack_masterbar_more_info' );
348
349
/**
350
 * Mobile Theme
351
 */
352
function jetpack_minileven_more_button() {
353
	echo 'https://jetpack.com/support/mobile-theme';
354
}
355
add_action( 'jetpack_learn_more_button_minileven', 'jetpack_minileven_more_button' );
356
357
function jetpack_minileven_more_info() { ?>
358
	<?php esc_html_e(
359
		"Automatically optimize your site for mobile. Jetpack's mobile theme uses the header image,
360
		background, and widgets from your current theme. Post format support means your photos and galleries
361
		will also look fantastic."
362
		, 'jetpack' );
363
}
364
add_action( 'jetpack_module_more_info_minileven', 'jetpack_minileven_more_info' );
365
366
/**
367
 * Infinite Scroll
368
 */
369
function jetpack_infinite_scroll_more_button() {
370
	echo 'https://jetpack.com/support/infinite-scroll';
371
}
372
add_action( 'jetpack_learn_more_button_infinite-scroll', 'jetpack_infinite_scroll_more_button' );
373
374
function jetpack_infinite_scroll_more_info() {
375
	esc_html_e(
376
		'Infinite scrolling pulls the next set of posts automatically into view when the reader approaches
377
		the bottom of the page. This helps you reader see more of your content.'
378
	, 'jetpack' );
379
}
380
add_action( 'jetpack_module_more_info_infinite-scroll', 'jetpack_infinite_scroll_more_info' );
381
382
/**
383
 * Post by Email
384
 */
385
function jetpack_post_by_email_more_link() {
386
	echo 'https://jetpack.com/support/post-by-email/';
387
}
388
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
389
390
function jetpack_post_by_email_more_info() { ?>
391
	<?php esc_html_e(
392
		'Publish posts on your site by writing and sending an email from any email client instead of using the post editor.'
393
		, 'jetpack' );
394
}
395
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
396
397
/**
398
 * Photon
399
 */
400
function jetpack_photon_more_link() {
401
	echo 'https://jetpack.com/support/photon';
402
}
403
add_action( 'jetpack_learn_more_button_photon', 'jetpack_photon_more_link' );
404
405
function jetpack_photon_more_info() {
406
	esc_html_e(
407
		"Your images are automatically optimized for different display resolutions to serve the best
408
		possible image quality. We also cache and serve them from our fast, global network (CDN)."
409
		, 'jetpack' );
410
}
411
add_action( 'jetpack_module_more_info_photon', 'jetpack_photon_more_info' );
412
413
/**
414
 * Tiled Galleries
415
 */
416
function jetpack_tiled_gallery_more_link() {
417
	echo 'https://jetpack.com/support/tiled-galleries/';
418
}
419
add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' );
420
421
function jetpack_tiled_gallery_more_info() { ?>
422
	<?php esc_html_e(
423
		'When adding an image gallery, you will have the option to create elegant magazine-style mosaic layouts for your photos,
424
		including mosaic (default), square, and circular layouts.'
425
		, 'jetpack' );
426
}
427
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' );
428
429
/**
430
 * Likes
431
 */
432
function jetpack_likes_more_link() {
433
	echo 'https://jetpack.com/support/likes/';
434
}
435
add_action( 'jetpack_learn_more_button_likes', 'jetpack_likes_more_link' );
436
437
function jetpack_likes_more_info() { ?>
438
	<?php esc_html_e(
439
		'Allow your readers to show their appreciation for your posts and other content. Likes show up
440
		below each post and your readers will also be able to review their liked posts from WordPress.com.'
441
		, 'jetpack' );
442
}
443
add_action( 'jetpack_module_more_info_likes', 'jetpack_likes_more_info' );
444
445
/**
446
 * Widget Visibility
447
 */
448
function jetpack_widget_visibility_more_link() {
449
	echo 'https://jetpack.com/support/widget-visibility/';
450
}
451
add_action( 'jetpack_learn_more_button_widget-visibility', 'jetpack_widget_visibility_more_link' );
452
453
function jetpack_widget_visibility_more_info() {
454
	esc_html_e(
455
		'Choose from a set of visibility options for sidebar widgets such as showing them only certain categories,
456
		only on error pages, or only search results pages. You can also do the reverse and choose to hide them on certain pages.'
457
		, 'jetpack' ); ?>
458
<?php
459
}
460
add_action( 'jetpack_module_more_info_widget-visibility',  'jetpack_widget_visibility_more_info' );
461
462
/**
463
 * VideoPress
464
 */
465
function jetpack_videopress_more_link() {
466
	echo 'https://jetpack.com/support/videopress/';
467
}
468
add_action( 'jetpack_learn_more_button_videopress', 'jetpack_videopress_more_link' );
469
470
function jetpack_videopress_more_info() {
471
	esc_html_e(
472
		'The easiest way to upload ad-free and unbranded videos to your site. You get stats on video
473
		playback and shares and the player is lightweight and responsive.'
474
		, 'jetpack' );
475
}
476
add_action( 'jetpack_module_more_info_videopress', 'jetpack_videopress_more_info' );
477
478
/**
479
 * SSO
480
 */
481
function jetpack_sso_more_link() {
482
	echo 'https://jetpack.com/support/sso/';
483
}
484
add_action( 'jetpack_learn_more_button_sso', 'jetpack_sso_more_link' );
485
486
function jetpack_sso_more_info() {
487
	esc_html_e(
488
		'Your users will be able to log in to your site with their WordPress.com account.
489
		This includes two-factor authentication making it the safest login mechanism for your site.'
490
		, 'jetpack' );
491
}
492
add_action( 'jetpack_module_more_info_sso',  'jetpack_sso_more_info' );
493
494
/**
495
 * Monitor
496
 */
497
function jetpack_monitor_more_link() {
498
	echo 'https://jetpack.com/support/monitor/';
499
}
500
add_action( 'jetpack_learn_more_button_monitor', 'jetpack_monitor_more_link' );
501
502
function jetpack_monitor_more_info() {
503
	esc_html_e(
504
		'Jetpack checks your site every five minutes and if any downtime is detected you will receive an email
505
		notification alerting you to the issue, so you can act quickly and get your site back online.'
506
		, 'jetpack' );
507
}
508
add_action( 'jetpack_module_more_info_monitor', 'jetpack_monitor_more_info' );
509
510
/**
511
 * Related Posts
512
 */
513
function jetpack_related_posts_more_button() {
514
	echo 'https://jetpack.com/support/related-posts/';
515
}
516
add_action( 'jetpack_learn_more_button_related-posts', 'jetpack_related_posts_more_button' );
517
518
function jetpack_related_posts_more_info() {
519
	esc_html_e(
520
		'Show visitors related content from your site at the bottom of your posts. This encourages them
521
		to browse more content, explore your site, and transform them into regular readers.'
522
		, 'jetpack' );
523
}
524
add_action( 'jetpack_module_more_info_related-posts', 'jetpack_related_posts_more_info' );
525
526
/**
527
 * Markdown
528
 */
529
function jetpack_markdown_more_link() {
530
	echo 'https://jetpack.com/support/markdown/';
531
}
532
add_action( 'jetpack_learn_more_button_markdown', 'jetpack_markdown_more_link' );
533
534
function jetpack_markdown_more_info() {
535
	esc_html_e(
536
		'Compose posts and comments with links, lists, and other styles using regular characters and
537
		punctuation marks. A quick and easy way to format text without needing any HTML or coding.'
538
		, 'jetpack' );
539
}
540
add_action( 'jetpack_module_more_info_markdown', 'jetpack_markdown_more_info' );
541
542
/**
543
 * Site Verification Tools
544
 */
545
function jetpack_verification_tools_more_link() {
546
	echo 'https://jetpack.com/support/site-verification-tools/';
547
}
548
add_action( 'jetpack_learn_more_button_verification-tools', 'jetpack_verification_tools_more_link' );
549
550
function jetpack_verification_tools_more_info() {
551
	esc_html_e(
552
		'Verify your site ownership with services like Google, Bing, Pinterest, and Yandex. This gives you access to
553
		advanced features on these services and get verification badges.'
554
		, 'jetpack' );
555
}
556
add_action( 'jetpack_module_more_info_verification-tools', 'jetpack_verification_tools_more_info' );
557
558
/**
559
 * SEO Tools
560
 */
561
function jetpack_seo_tools_more_link() {
562
	echo 'https://jetpack.com/support/seo-tools/';
563
}
564
add_action( 'jetpack_learn_more_button_seo-tools', 'jetpack_seo_tools_more_link' );
565
566
function jetpack_seo_tools_more_info() {
567
	esc_html_e(
568
		'Better results on search engines and social media.'
569
		, 'jetpack' );
570
}
571
add_action( 'jetpack_module_more_info_seo-tools', 'jetpack_seo_tools_more_info' );
572
573
/**
574
 * Custom Content Types
575
 */
576
function jetpack_custom_content_types_more_link() {
577
	echo 'https://jetpack.com/support/custom-content-types/';
578
}
579
add_action( 'jetpack_learn_more_button_custom-content-types', 'jetpack_custom_content_types_more_link' );
580
581
function jetpack_custom_content_types_more_info() { ?>
582
	<?php esc_html_e(
583
		'Add and organize content that doesn’t necessarily fit into a post or static page such as portfolios
584
		or testimonials. Custom	content can be visible at specific URLs, or you may add them with shortcodes.'
585
		, 'jetpack' );
586
}
587
add_action( 'jetpack_module_more_info_custom-content-types', 'jetpack_custom_content_types_more_info' );
588
// Custom Content Types: STOP
589
590
/**
591
 * Manage
592
 */
593
function jetpack_manage_more_link() {
594
	echo 'https://jetpack.com/support/site-management/';
595
}
596
add_action( 'jetpack_learn_more_button_manage', 'jetpack_manage_more_link' );
597
598
function jetpack_custom_jetpack_manage() { ?>
599
	<?php esc_html_e(
600
		'Manage and update this and other WordPress sites from one simple dashboard on WordPress.com. You can update
601
		plugins, set them to automatically update, and (de)activate them on a per-site basis or in bulk from
602
		wordpress.com/plugins. You can also use the brand new and mobile-friendly post editor on WordPress.com as well
603
		as view and activate installed themes and create or edit site menus.'
604
		, 'jetpack' );
605
}
606
add_action( 'jetpack_module_more_info_manage', 'jetpack_custom_jetpack_manage' );
607
608
// XML Sitemap: START
609
function jetpack_sitemaps_more_link() {
610
	echo 'https://jetpack.com/support/sitemaps/';
611
}
612
add_action( 'jetpack_learn_more_button_sitemaps', 'jetpack_sitemaps_more_link' );
613
614
function jetpack_xml_sitemap_more_info() {
615
	esc_html_e(
616
		'Automatically create two sitemap files that list the URLs of posts and pages in your site.
617
		This makes it easier for search engines (like Google) to include your site in relevant search results.'
618
		, 'jetpack' );
619
}
620
add_action( 'jetpack_module_more_info_sitemaps', 'jetpack_xml_sitemap_more_info' );
621
// XML Sitemap: STOP
622
623
/**
624
 * WordAds
625
 */
626
function jetpack_wordads_more_link() {
627
	echo 'https://wordads.co/';
628
}
629
add_action( 'jetpack_learn_more_button_wordads', 'jetpack_wordads_more_link' );
630
631
function jetpack_wordads_more_info() {
632
	esc_html_e(
633
		'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!'
634
		, 'jetpack' );
635
}
636
add_action( 'jetpack_module_more_info_wordads', 'jetpack_wordads_more_info' );
637
// WordAds: STOP
638
639
/**
640
 * Google Analytics
641
 */
642
function jetpack_google_analytics_more_link() {
643
	echo 'https://jetpack.com/support/google-analytics';
644
}
645
add_action( 'jetpack_learn_more_button_google-analytics', 'jetpack_google_analytics_more_link' );
646
647
function jetpack_google_analytics_more_info() {
648
	esc_html_e(
649
		'Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.'
650
		, 'jetpack' );
651
}
652
add_action( 'jetpack_module_more_info_google-analytics', 'jetpack_google_analytics_more_info' );
653