| 1 |
<?php |
| 2 |
|
| 3 |
if ( ! defined('ABSPATH') ) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
|
| 7 |
?><div class="wpc-filters-set-settings-wrapper"> |
| 8 |
<table class="wpc-form-fields-table"> |
| 9 |
<?php |
| 10 |
$set_settings_fields = flrt_get_set_settings_fields( $post->ID ); |
| 11 |
|
| 12 |
// Allows you to manipulate fields before show them |
| 13 |
do_action_ref_array( 'wpc_before_filter_set_settings_fields', array( &$set_settings_fields ) ); |
| 14 |
|
| 15 |
foreach ( $set_settings_fields as $key => $attributes ) { |
| 16 |
|
| 17 |
if( isset( $attributes['skip_view'] ) && $attributes['skip_view'] ){ |
| 18 |
do_action_ref_array( 'wpc_cycle_filter_set_settings_fields', array( &$set_settings_fields ) ); |
| 19 |
}else{ |
| 20 |
flrt_include_admin_view('filter-field', array( |
| 21 |
'field_key' => $key, |
| 22 |
'attributes' => $attributes |
| 23 |
) |
| 24 |
); |
| 25 |
} |
| 26 |
} |
| 27 |
?> |
| 28 |
</table> |
| 29 |
</div> |