calypsoify
2 years ago
carousel
2 years ago
cloudflare-analytics
4 years ago
comment-likes
5 years ago
comments
2 years ago
contact-form
2 years ago
custom-css
2 years ago
custom-post-types
2 years ago
geo-location
4 years ago
google-analytics
2 years ago
google-fonts
2 years ago
gravatar
5 years ago
infinite-scroll
2 years ago
likes
2 years ago
markdown
2 years ago
masterbar
2 years ago
memberships
2 years ago
photon-cdn
2 years ago
plugin-search
4 years ago
post-by-email
3 years ago
related-posts
2 years ago
scan
2 years ago
seo-tools
2 years ago
sharedaddy
2 years ago
shortcodes
2 years ago
simple-payments
2 years ago
site-icon
4 years ago
sitemaps
2 years ago
sso
2 years ago
stats
2 years ago
subscriptions
2 years ago
theme-tools
2 years ago
tiled-gallery
2 years ago
verification-tools
4 years ago
videopress
2 years ago
widget-visibility
2 years ago
widgets
2 years ago
woocommerce-analytics
2 years ago
wordads
2 years ago
wpcom-block-editor
2 years ago
wpcom-tos
5 years ago
blaze.php
2 years ago
carousel.php
2 years ago
comment-likes.php
2 years ago
comments.php
2 years ago
contact-form.php
2 years ago
copy-post.php
2 years ago
custom-content-types.php
4 years ago
custom-css.php
3 years ago
enhanced-distribution.php
2 years ago
geo-location.php
4 years ago
google-analytics.php
4 years ago
google-fonts.php
2 years ago
gravatar-hovercards.php
2 years ago
infinite-scroll.php
2 years ago
json-api.php
5 years ago
latex.php
4 years ago
likes.php
2 years ago
markdown.php
4 years ago
masterbar.php
2 years ago
module-extras.php
3 years ago
module-headings.php
2 years ago
module-info.php
2 years ago
monitor.php
2 years ago
notes.php
2 years ago
photon-cdn.php
2 years ago
photon.php
3 years ago
plugin-search.php
2 years ago
post-by-email.php
5 years ago
post-list.php
3 years ago
protect.php
3 years ago
publicize.php
2 years ago
related-posts.php
2 years ago
search.php
4 years ago
seo-tools.php
2 years ago
sharedaddy.php
2 years ago
shortcodes.php
2 years ago
shortlinks.php
2 years ago
sitemaps.php
4 years ago
sso.php
2 years ago
stats.php
2 years ago
subscriptions.php
2 years ago
theme-tools.php
3 years ago
tiled-gallery.php
4 years ago
vaultpress.php
2 years ago
verification-tools.php
5 years ago
videopress.php
3 years ago
waf.php
3 years ago
widget-visibility.php
4 years ago
widgets.php
3 years ago
woocommerce-analytics.php
2 years ago
wordads.php
2 years ago
wpgroho.js
5 years ago
vaultpress.php
44 lines
| 1 | <?php // phpcs:disable WordPress.WP.CapitalPDangit.MisspelledInComment |
| 2 | /** |
| 3 | * Module Name: Backups and Scanning |
| 4 | * Module Description: Protect your site with daily or real-time backups and automated virus scanning and threat detection. |
| 5 | * First Introduced: 0:1.2 |
| 6 | * Sort Order: 32 |
| 7 | * Deactivate: false |
| 8 | * Free: false |
| 9 | * Requires Connection: Yes |
| 10 | * Auto Activate: No |
| 11 | * Feature: Security, Health |
| 12 | * Additional Search Queries: backup, cloud backup, database backup, restore, wordpress backup, backup plugin, wordpress backup plugin, back up, backup wordpress, backwpup, vaultpress, backups, off-site backups, offsite backup, offsite, off-site, antivirus, malware scanner, security, virus, viruses, prevent viruses, scan, anti-virus, antimalware, protection, safe browsing, malware, wp security, wordpress security |
| 13 | * Plans: personal, business, premium, security, complete |
| 14 | */ |
| 15 | // phpcs:enable WordPress.WP.CapitalPDangit.MisspelledInComment |
| 16 | |
| 17 | add_action( 'jetpack_modules_loaded', 'vaultpress_jetpack_stub' ); |
| 18 | |
| 19 | /** |
| 20 | * Conditionally enable module configuration. |
| 21 | */ |
| 22 | function vaultpress_jetpack_stub() { |
| 23 | if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) { |
| 24 | Jetpack::enable_module_configurable( __FILE__ ); |
| 25 | add_filter( 'jetpack_module_configuration_url_vaultpress', 'vaultpress_jetpack_configure_url' ); |
| 26 | add_filter( 'jetpack_module_free_text_vaultpress', 'vaultpress_jetpack_module_free_text' ); |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Text for filter jetpack_module_free_text_vaultpress. |
| 32 | */ |
| 33 | function vaultpress_jetpack_module_free_text() { |
| 34 | return __( 'Active', 'jetpack' ); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * URL for filter jetpack_module_configuration_url_vaultpress. |
| 39 | */ |
| 40 | function vaultpress_jetpack_configure_url() { |
| 41 | include_once ABSPATH . '/wp-admin/includes/plugin.php'; |
| 42 | return menu_page_url( 'vaultpress', false ); |
| 43 | } |
| 44 |