| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/wpai-acf-add-on/src/fields/views/ |
Upload File : |
<?php
if (\pmai_acf_add_on\ACFService::isACFNewerThan('5.0.0')){
if (!empty($field['sub_fields'])){
foreach ($field['sub_fields'] as $key => $sub_field){ ?>
<tr class="field sub_field field_type-<?php echo $sub_field['type'];?> field_key-<?php echo $sub_field['key'];?>">
<td class="label">
<?php echo $sub_field['label'];?>
</td>
<td>
<div class="inner">
<?php
\pmai_acf_add_on\fields\FieldFactory::create($sub_field, $post, $field_name . "[" . $field['key'] . "][rows][ROWNUMBER]")->view();
?>
</div>
</td>
</tr>
<?php
}
}
elseif (!empty($field['sub_field'])){
?>
<tr class="field sub_field field_type-<?php echo $field['sub_field']['type'];?> field_key-<?php echo $field['sub_field']['key'];?>">
<td>
<div class="inner">
<?php
\pmai_acf_add_on\fields\FieldFactory::create($field['sub_field'], $post, $field_name)->view();
?>
</div>
</td>
</tr>
<?php
}
}
else {
?>
<p>
<?php
_e('This field type is not supported. E-mail support@wpallimport.com with the details of the custom ACF field you are trying to import to, as well as a link to download the plugin to install to add this field type to ACF, and we will investigate the possiblity ot including support for it in the ACF add-on.', 'wp_all_import_acf_add_on');
?>
</p>
<?php
}