| @@ 1964-1968 (lines=5) @@ | ||
| 1961 | $field = array_merge( $this->pod->fields[ $field['name'] ], $field ); |
|
| 1962 | } |
|
| 1963 | ||
| 1964 | if ( pods_v( 'hidden', $field, false, null, true ) || 'hidden' === $field['type'] ) { |
|
| 1965 | continue; |
|
| 1966 | } elseif ( ! PodsForm::permission( $field['type'], $field['name'], $field['options'], $fields, $pod, $pod->id() ) ) { |
|
| 1967 | continue; |
|
| 1968 | } |
|
| 1969 | ||
| 1970 | $fields[ $field['name'] ] = $field; |
|
| 1971 | ||
| @@ 4078-4082 (lines=5) @@ | ||
| 4075 | $field = array_merge( $this->fields[ $field['name'] ], $field ); |
|
| 4076 | } |
|
| 4077 | ||
| 4078 | if ( pods_v( 'hidden', $field, false, true ) || 'hidden' === $field['type'] ) { |
|
| 4079 | continue; |
|
| 4080 | } elseif ( ! PodsForm::permission( $field['type'], $field['name'], $field['options'], $fields, $pod, $pod->id() ) ) { |
|
| 4081 | continue; |
|
| 4082 | } |
|
| 4083 | ||
| 4084 | $fields[ $field['name'] ] = $field; |
|
| 4085 | }//end foreach |
|