Redux Framework saves options in $redux_demo variable.But i am not getting option values in widgets.

Here is my codes

public function __construct() {
    global $redux_demo;
    $facebook       = isset($redux_demo['facebook_link']) ? $redux_demo['facebook_link'] : ''; 

    $widget_ops = array(
        'classname' => 'NefarSocialWidget',
        'description' => 'Nefar Social Widget For Social Sharing',
    );

    parent::__construct( 'nefar_social_widget', 'Nefar Social Widget', $widget_ops );
}

but i am not getting the value when i am echo this($facebook)

Read more here: How to get values in widget from redux framework


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: