pmpro_postbox

The Paid Memberships Pro pmpro postbox function.

Description

pmpro_postbox( $id, $title, $content ); 

Parameters (3)

0. $id
The id.
1. $title
The title.
2. $content
The content.

Usage

  1. if ( !function_exists( 'pmpro_postbox' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/adminpages/dashboard.php'; 
  3.  
  4. // The id. 
  5. $id = null; 
  6.  
  7. // The title. 
  8. $title = null; 
  9.  
  10. // The content. 
  11. $content = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = pmpro_postbox($id, $title, $content); 
  15.  

Defined (1)

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

/adminpages/dashboard.php  
  1. function pmpro_postbox($id, $title, $content) 
  2. ?> 
  3. <div id="<?php echo $id; ?>" class="postbox"> 
  4. <div class="handlediv" title="Click to toggle"><br /></div> 
  5. <h3 class="hndle"><span><?php echo $title; ?></span></h3> 
  6. <div class="inside"> 
  7. <?php echo $content; ?> 
  8. </div> 
  9. </div> 
  10. <?php