PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 8.8
Jetpack – WP Security, Backup, Speed, & Growth v8.8
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / module-info.php

module-info.php in Jetpack – WP Security, Backup, Speed, & Growth 8.8, at modules/module-info.php

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