learndash_get_option( string $post_type, string $setting = '' )

Gets the options for a particular post type and setting.


Description Description


Parameters Parameters

$post_type

(Required) The Post type slug.

$setting

(Optional) The slug of the setting to get.

Default value: ''


Top ↑

Return Return

(array|string) The options value for the given post type and setting.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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