Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
clone
/
wp-conte...
/
plugins
/
ninja-fo...
/
blocks
/
views
/
includes
/
DataBuil...
•
File:
FieldsBuilder.php
•
Content:
<?php namespace NinjaForms\Blocks\DataBuilder; class FieldsBuilder { protected $fields; public function __construct( $fields ) { $this->fields = $fields; } public function get() { $fields = array_filter( $this->fields, function( $field ) { return ! in_array( $field[ 'type' ], [ 'submit', 'html', 'hr' ] ); }); return array_map( [ $this, 'toArray' ], $fields ); } protected function toArray( $field ) { extract( $field ); return [ 'id' => $id, 'label' => $label ]; } }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List