NF_Admin_Metaboxes_Example

The Ninja Forms NF Admin Metaboxes Example class.

Defined (1)

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

/includes/Admin/Metaboxes/Example.php  
  1. final class NF_Admin_Metaboxes_Example extends NF_Abstracts_SubmissionMetabox 
  2. public function __construct() 
  3. parent::__construct(); 
  4.  
  5. // $this->_title = __( 'Example Metabox', 'ninja-forms' ); 
  6.  
  7. public function render_metabox( $post, $metabox ) 
  8. $data = $this->sub->get_field_values(); 
  9.  
  10. Ninja_Forms()->template( 'admin-metabox-submission-example.php', compact( 'data' ) );