LLMS_AJAX_Handler::update_lesson_order( array $request )

Update section’s lessons order


Parameters Parameters

$request

(array) (Required) $_POST data.


Top ↑

Return Return

((array|null))


Top ↑

Source Source

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

1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
        $lesson               = new LLMS_Lesson( $key );
        $updated_data[ $key ] = $lesson->update(
            array(
                'parent_section' => $value['parent_section'],
                'order'          => $value['order'],
            )
        );
 
    }
 
    return $updated_data;
 
}
 
/**
 * "API" for the Admin Builder.
 *
 * @since 3.13.0


Top ↑

User Contributed Notes User Contributed Notes

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