pmpro_page_meta_wrapper

The Paid Memberships Pro pmpro page meta wrapper function.

Description

pmpro_page_meta_wrapper(); 

Usage

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

Defined (1)

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

/includes/metaboxes.php  
  1. function pmpro_page_meta_wrapper() 
  2. add_meta_box('pmpro_page_meta', __('Require Membership', 'paid-memberships-pro' ), 'pmpro_page_meta', 'page', 'side'); 
  3. add_meta_box('pmpro_page_meta', __('Require Membership', 'paid-memberships-pro' ), 'pmpro_page_meta', 'post', 'side');