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() {
}
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() {
}