pmpro_updates_notice_complete

Function to show an admin notice linking to the updates page.

Description

pmpro_updates_notice_complete(); 

Usage

  1. if ( !function_exists( 'pmpro_updates_notice_complete' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/includes/updates.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = pmpro_updates_notice_complete(); 
  7.  

Defined (1)

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

/includes/updates.php  
  1. function pmpro_updates_notice_complete() { 
  2. ?> 
  3. <div class="updated notice notice-success is-dismissible"> 
  4. <p> 
  5. <?php  
  6. echo __('All Paid Memberships Pro updates have finished.', 'paid-memberships-pro' ); 
  7. ?> 
  8. </p>  
  9. </div> 
  10. <?php