Support » Plugin: Widget CSS Classes » Callback no longer works with get_opiton

  • Resolved stedko

    (@stedko)



    Hi there, I wasn’t be able to get it work without changing the widget-css-classes.php at line 180-184 to this: (original_callback instead of callback)

    			if ( isset( $custom_sidebarcheck[0] ) && ( $custom_sidebarcheck[0] == 'yes' ) ) {
    				$widget_opt = get_option( 'widget_'.$id.'_'.substr($widget_obj['original_callback'][0]->option_name, 7) );
    			} elseif ( isset( $widget_obj['original_callback'][0]->option_name ) ) {
    				$widget_opt = get_option( $widget_obj['original_callback'][0]->option_name );
    			}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Callback no longer works with get_opiton’ is closed to new replies.