<?php
namespace Frontend_Admin\Field_Types;

if ( ! class_exists( 'delete_product' ) ) :

	class delete_product extends delete_object {



		  /*
		  *  __construct
		  *
		  *  This function will setup the field type data
		  *
		  *  @type      function
		  *  @date      5/03/2014
		  *  @since      5.0.0
		  *
		  *  @param      n/a
		  *  @return      n/a
		  */

		function initialize() {
			// vars
			$this->name     = 'delete_product';
			$this->label    = __( 'Delete Product', 'frontend-admin' );
			$this->category = __( 'Product', 'frontend-admin' );
			$this->object   = 'product';
			$this->defaults = array(
				'button_text'       => __( 'Delete', 'frontend-admin' ),
				'confirmation_text' => __( 'Are you sure you want to delete this product?', 'frontend-admin' ),
				'field_label_hide'  => 1,
				'force_delete'      => 0,
				'redirect'          => 'current',
				'show_delete_message' => 1,
				'delete_message'    => __( 'Your product has been deleted' ),
			);

		}


	}




endif; // class_exists check


