LLMS_Meta_Box_Students::output()

Custom metabox output function


Return Return

(void)


Top ↑

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,
				)
			);

		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.