vaultpress_jetpack_more_info

The Jetpack by WordPress.com vaultpress jetpack more info function.

Description

vaultpress_jetpack_more_info(); 

Usage

  1. if ( !function_exists( 'vaultpress_jetpack_more_info' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/module-info.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = vaultpress_jetpack_more_info(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/module-info.php  
  1. function vaultpress_jetpack_more_info() { 
  2. if ( function_exists( 'is_multisite' ) && is_multisite() ) { 
  3. $vaultpress_url = 'http://vaultpress.com/jetpack-ms/'; 
  4. } else { 
  5. $vaultpress_url = 'http://vaultpress.com/jetpack/'; 
  6. ?> 
  7.  
  8. <div class="jp-info-img"> 
  9. <a href="<?php echo $vaultpress_url?>"> 
  10. <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/vaultpress.png' ) ?>" alt="<?php esc_attr_e( 'VaultPress', jetpack ) ?>" width="300" height="150" /> 
  11. </a> 
  12. </div> 
  13.  
  14. <?php if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) : ?> 
  15. <p><?php esc_html_e( 'Your WordPress installation is currently being protected with the world’s best security, backup, and support.', jetpack ); ?></p> 
  16. <p><?php printf( _x( 'To check your backups, see any security alerts, or check your VaultPress Vitality, visit your %s.', 'Visit your _VaultPress_dashboard_.', jetpack ), '<a href="https://dashboard.vaultpress.com/">' . esc_html__( 'VaultPress dashboard', jetpack ) . '</a>' ); ?></a></p> 
  17. <?php else : ?> 
  18. <p><?php esc_html_e( 'With a monthly subscription, the VaultPress plugin will backup your site’s content, themes, and plugins in real-time, as well as perform regular security scans for common threats and attacks.', jetpack ); ?></p> 
  19. <p><?php printf( _x( 'View %s.', 'View _Plans_&_Pricing_. (VaultPress)', jetpack ), '<a href="' . $vaultpress_url . '">' . esc_html__( 'Plans & Pricing', jetpack ) . '</a>' ); ?></a></p> 
  20. <?php endif;