MetaBox::save_information( $post_ID )
Save course information meta
Description
Example usage:
save_information();
Parameters
- $post_ID
-
(Required)
Source
File: classes/MetaBox.php
public function save_information( $post_ID ) { $_benefits = dozent_input_textarea( '_benefits' ); $_requirements = dozent_input_textarea( '_requirements' ); $_target_audience = dozent_input_textarea( '_target_audience' ); dozent_update_post_meta( $post_ID, '_benefits', $_benefits ); dozent_update_post_meta( $post_ID, '_requirements', $_requirements ); dozent_update_post_meta( $post_ID, '_target_audience', $_target_audience ); }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |