Get Widget Instance in custom function

Is there a way to get widget $instance variable values in custom_widget_init function?

public function __construct() {
  ....
  add_action( 'wp_head', array( __CLASS__, 'custom_widget_init' ) );           
}

function custom_widget_init() {   

}

Related posts

Leave a Reply