includes/acf/fields/number.php 1 location
|
@@ 110-118 (lines=9) @@
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
// special atts |
| 110 |
|
foreach( array( 'readonly', 'disabled' ) as $k ) { |
| 111 |
|
|
| 112 |
|
if( $field[ $k ] ) { |
| 113 |
|
|
| 114 |
|
$atts[ $k ] = $k; |
| 115 |
|
|
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
|
| 121 |
|
// render |
includes/acf/fields/password.php 1 location
|
@@ 98-106 (lines=9) @@
|
| 95 |
|
|
| 96 |
|
|
| 97 |
|
// special atts |
| 98 |
|
foreach( array( 'readonly', 'disabled' ) as $k ) { |
| 99 |
|
|
| 100 |
|
if( $field[ $k ] ) { |
| 101 |
|
|
| 102 |
|
$atts[ $k ] = $k; |
| 103 |
|
|
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
|
| 109 |
|
// render |
includes/acf/fields/select.php 1 location
|
@@ 213-217 (lines=5) @@
|
| 210 |
|
|
| 211 |
|
|
| 212 |
|
// special atts |
| 213 |
|
foreach( array( 'readonly', 'disabled' ) as $k ) { |
| 214 |
|
|
| 215 |
|
if( !empty($field[ $k ]) ) $atts[ $k ] = $k; |
| 216 |
|
|
| 217 |
|
} |
| 218 |
|
|
| 219 |
|
|
| 220 |
|
// hidden input |
includes/acf/fields/url.php 1 location
|
@@ 77-85 (lines=9) @@
|
| 74 |
|
|
| 75 |
|
|
| 76 |
|
// special atts |
| 77 |
|
foreach( array( 'readonly', 'disabled' ) as $k ) { |
| 78 |
|
|
| 79 |
|
if( !empty($field[ $k ]) ) { |
| 80 |
|
|
| 81 |
|
$atts[ $k ] = $k; |
| 82 |
|
|
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
|
| 88 |
|
// render |