pmpro_showMessage

Show a a PMPro message set via pmpro_setMessage.

Description

pmpro_showMessage(); 

Usage

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

Defined (1)

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

/includes/functions.php  
  1. function pmpro_showMessage() 
  2. global $pmpro_msg, $pmpro_msgt; 
  3.  
  4. if(!empty($pmpro_msg)) 
  5. ?> 
  6. <div class="<?php echo $pmpro_msgt;?>"> 
  7. <p><?php echo $pmpro_msg;?></p> 
  8. </div> 
  9. <?php