public/wordpress/wp-content/plugins/wp-courseware/includes/models/module.php
/**
	 * Save Module.
	 *
	 * @since 4.3.0
	 *
	 * @return bool True if successfull, False on failure
	 */
Save Module.

@return bool True if successfull, False on failure
Save Module . @return bool True if successfull False on failure
public function save() {
		$data = $this->get_data( true );
		if ( empty( $data ) || ! is_array( $data ) ) {
			return false;
		}
		$data = wp_unslash( $data );
		$this->db->update( $this->get_id(), $data );
		return $this->get_id();
	}
public function save ( ) { $ data = $ this -> get_data ( true ) ; if ( empty ( $ data ) || ! is_array ( $ data ) ) { return false ; } $ data = wp_unslash ( $ data ) ; $ this -> db -> update ( $ this -> get_id ( ) , $ data ) ; return $ this -> get_id ( ) ; }
Save Module.
Save Module .