MetaBox::dozent_save_course_metabox()

Save Course metabox via Ajax


Source

File: classes/MetaBox.php

	public function dozent_save_course_metabox() {
		$post_ID = dozent_input_text( 'course_id' );

		do_action( 'dozent/course/save/before', $post_ID );
		$this->save_course_metabox( $post_ID );
		do_action( 'dozent/course/save/after', $post_ID );

		wp_send_json_success();
	}