LLMS_Meta_Box_Order_Enrollment::save( int $post_id )
Save method
Parameters Parameters
- $post_id
-
(int) (Required) Post ID of the Order.
Return Return
(void)
Source Source
File: includes/admin/post-types/meta-boxes/class.llms.meta.box.order.enrollment.php
public function save( $post_id ) { $update = llms_filter_input( INPUT_POST, 'llms_update_enrollment_status' ); if ( ! empty( $update ) ) { $this->save_update_enrollment( $post_id ); } $delete = llms_filter_input( INPUT_POST, 'llms_delete_enrollment_status' ); if ( ! empty( $delete ) ) { $this->save_delete_enrollment( $post_id ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.9.0 | Stop using deprecated FILTER_SANITIZE_STRING . |
3.33.0 | Added the logic to handle the Enrollment 'deleted' status. |
3.0.0 | Introduced. |