Current Path : /home/church/www/wp-content/plugins/ninja-forms/includes/Admin/Metaboxes/ |
Current File : /home/church/www/wp-content/plugins/ninja-forms/includes/Admin/Metaboxes/Example.php |
<?php if ( ! defined( 'ABSPATH' ) ) exit; final class NF_Admin_Metaboxes_Example extends NF_Abstracts_SubmissionMetabox { public function __construct() { parent::__construct(); // $this->_title = esc_html__( 'Example Metabox', 'ninja-forms' ); } public function render_metabox( $post, $metabox ) { $data = $this->sub->get_field_values(); Ninja_Forms()->template( 'admin-metabox-submission-example.php', compact( 'data' ) ); } }