'; if ( isset( $_REQUEST['reset'] ) == true ) { printf( '%s', __( 'Options reset', ANTON_FEM ) ); }else{ printf( '%s', __( 'Options saved', ANTON_FEM ) ); } echo ''; echo '
'; } if ( isset( $_REQUEST['reset'] ) == true ) { delete_option( ANTON_FEM ); } echo '
'; // Fields HTML output anton_fem_field_html( 'number', 'content_width', array( 'label' => __( 'Content Width', ANTON_FEM ), 'default' => anton_fem_content_width() ) ); echo '
'; echo ''; echo '
'; } function anton_fem_field_html( $type, $key = null, $field = null ){ $defaults = array( 'min' => '', 'max' => '', 'label' => '', 'default' => '', 'description' => '', ); $args = wp_parse_args( (array) $field, $defaults ); switch ( $type ){ case 'text' : ?>