NF_Fields_Button

Class NF_Field_Button.

Defined (1)

The class is defined in the following location(s).

/includes/Fields/Button.php  
  1. class NF_Fields_Button extends NF_Abstracts_Field 
  2. protected $_name = 'button'; 
  3.  
  4. protected $_nicename = 'Button'; 
  5.  
  6. protected $_section = ''; 
  7.  
  8. protected $_type = 'button'; 
  9.  
  10. protected $_templates = 'button'; 
  11.  
  12. protected $_settings_only = array( 'label' ); 
  13.  
  14. public function __construct() 
  15. parent::__construct(); 
  16.  
  17. $this->_settings[ 'label' ][ 'width' ] = 'full'; 
  18.  
  19. $this->_nicename = __( 'Button', 'ninja-forms' );