Browse: Home / Classes / LDLMS_Model_Post /

LDLMS_Model_Post::set_setting

LDLMS_Model_Post::set_setting( string $setting_key = '',  string $setting_value = '',  bool $force = false )

Set Setting.


Description #


Parameters #

$setting_key

(string) (Optional) Setting key to retrieve. Blank to retrieve all settings.

Default value: ''

$setting_value

(string) (Optional) Setting default value if setting_key is not set.

Default value: ''

$force

(bool) (Optional) Control saving postmeta after of settings change.

Default value: false


Return #

(mixed) Setting value.


Source #

File: includes/classes/class-ldlms-model-post.php


Changelog #

Changelog
Version Description
3.4.0 Introduced.