LLMS_AJAX_Handler::update_course_section( array $request )

Update a course’s section


Parameters Parameters

$request

(array) (Required) $_POST data.


Top ↑

Return Return

((array|void)) If section updated returns an array of the type: id => {post id} title => {new title}


Top ↑

Source Source

File: includes/class.llms.ajax.handler.php

	public static function update_course_section( $request ) {

		$section = new LLMS_Section( $request['section_id'] );
		return $section->set_title( $request['title'] );

	}

Top ↑

User Contributed Notes User Contributed Notes

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