Warning: This function has been deprecated.

learndash_convert_settings_to_single( int $post_id, array $settings = array(), string $prefix = '' )

Saves the course, lesson, topic, and quiz settings meta to separate post meta.


Description Description

Normally Course, Lesson, Topic and Quiz settings are stored into a single post meta array. This function runs after after that save and will save the array elements into individual postmeta fields.


Parameters Parameters

$post_id

(Optional) Course ID. Default 0.

$settings

(Optional) An array of settings to be stored.

Default value: array()

$prefix

(Optional) The post meta prefix.

Default value: ''


Top ↑

Source Source

File: includes/deprecated/3.4.0/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 This function has been deprecated.
2.4.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.