Browse: Home / Functions /


learndash_course_steps_update_post_meta( int $meta_id,  int|string $object_id = '',  string $meta_key = '',  mixed $meta_value = '' )

Updates the metadata settings array when updating single setting.

Description #

Used when saving a single setting. This will then trigger an update to the array setting. Fires on update_post_meta hook.

Parameters #


(int) (Optional) ID of the metadata entry to update. Default 0.


(int|string) (Optional) Object ID.

Default value: ''


(string) (Optional) Meta key.

Default value: ''


(mixed) (Optional) Meta value.

Default value: ''

Source #

File: includes/course/ld-course-steps-functions.php

Changelog #

Version Description Introduced.