How can I add a reset button when using the Settings API?
I've have something like this that's storing my defaults:
$slider_options = get_option( 'nextslider_options' );
/* Define the array of defaults */
$defaults = array(
'width' => 0,
'height' => 0,
'effect' => 'fade',
'bullets' => 0,
'arrows' => 0,
'slidelength' => 4000,
'animationlength' => 600
);
$slider_options = wp_parse_args( $slider_options, $defaults );
As a boilerplate I've used the Settings Sandbox.