PluginProbe
Advanced Custom Fields (ACF®) / 6.0.0
Advanced Custom Fields (ACF®) v6.0.0
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
31 lines 594 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
8 foreach ( $group as $i => $rule ) :
9
10 // validate rule
11 $rule = acf_validate_location_rule( $rule );
12
13 // append id and group
14 $rule['id'] = "rule_{$i}";
15 $rule['group'] = $group_id;
16
17 // view
18 acf_get_view(
19 'html-location-rule',
20 array(
21 'rule' => $rule,
22 )
23 );
24
25 endforeach;
26 ?>
27 </tbody>
28 </table>
29
30 </div>
31