how to set array of args for scheduled event?
It could be the phrasing of the array so try setting the array outside the wp_schedule_event call: $args = array(‘type’=>$instance[‘type’]); wp_schedule_event(time() , ‘twicedaily’, ‘fhprw_action’,$args);