Browse: Home / Functions /

learndash_course_steps_update_post_meta

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 #

$meta_id

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

$object_id

(int|string) (Optional) Object ID.

Default value: ''

$meta_key

(string) (Optional) Meta key.

Default value: ''

$meta_value

(mixed) (Optional) Meta value.

Default value: ''


Source #

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


Changelog #

Changelog
Version Description
3.4.0.3 Introduced.