CourseBuilder::_save_course( int $post_ID, object $post )

Fire action hook when save the course


Parameters

$post_ID

(int) (Required) Course ID

$post

(object) (Required) Course Object as post class instance


Source

File: classes/CourseBuilder.php

	public function _save_course( $post_ID, $post ) {
		do_action( 'dozent/save_course', $post_ID, $post );
		do_action( 'dozent/course_metabox/saved', $post_ID );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.