LLMS_Meta_Box_Students::output()
Custom metabox output function
Return Return
(void)
Source Source
File: includes/admin/post-types/meta-boxes/class.llms.meta.box.students.php
public function output() {
$screen = get_current_screen();
if ( 'add' === $screen->action ) {
_e( 'You must publish this post before you can manage students.', 'lifterlms' );
} else {
global $post;
llms_get_template(
'admin/post-types/students.php',
array(
'post_id' => $post->ID,
)
);
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |