LLMS_AJAX_Handler::update_section_order( $request )


Description Description


Source Source

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

	public static function update_section_order( $request ) {

		$updated_data;

		foreach ( $request['sections'] as $key => $value ) {

			$section = new LLMS_Section( $key );
			$updated_data[ $key ] = $section->update( array(
				'order' => $value,
			) );

		}

		return $updated_data;

	}

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: