for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GeminiLabs\Castor\Forms\Fields;
use GeminiLabs\Castor\Forms\Fields\Text;
class Hidden extends Text
{
/**
* @return string
*/
public function render()
if( isset( $this->args['label'] )) {
unset( $this->args['label'] );
}
if( isset( $this->args['desc'] )) {
unset( $this->args['desc'] );
if( isset( $this->args['id'] )) {
unset( $this->args['id'] );
return parent::render([
'class' => '',
'type' => 'hidden',
]);