PluginProbe
Advanced Custom Fields (ACF®) / 5.9.8
Advanced Custom Fields (ACF®) v5.9.8
6.8.9 6.8.8 6.8.7 6.8.6 6.8.5 6.8.4 6.8.3 6.8.2 6.8.1 5.8.5 5.8.6 5.8.7 5.8.8 5.8.9 5.9.0 5.9.1 5.9.2 5.9.3 5.9.4 5.9.5 5.9.6 5.9.7 5.9.8 5.9.9 6.0.0 All 230 releases
advanced-custom-fields / includes / admin / views / html-location-group.php
html-location-group.php
25 lines 569 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="rule-group" data-id="<?php echo $group_id; ?>">
2
3 <h4><?php echo ($group_id == 'group_0') ? __("Show this field group if",'acf') : __("or",'acf'); ?></h4>
4
5 <table class="acf-table -clear">
6 <tbody>
7 <?php foreach( $group as $i => $rule ):
8
9 // validate rule
10 $rule = acf_validate_location_rule($rule);
11
12 // append id and group
13 $rule['id'] = "rule_{$i}";
14 $rule['group'] = $group_id;
15
16 // view
17 acf_get_view('html-location-rule', array(
18 'rule' => $rule
19 ));
20
21 endforeach; ?>
22 </tbody>
23 </table>
24
25 </div>