|
@@ -14,7 +14,7 @@ |
|
|
block discarded – undo |
|
14
|
14
|
{ |
|
15
|
15
|
if (is_admin()) { |
|
16
|
16
|
// adds buttons to collapse/expand components |
|
17
|
|
- add_filter('acf/get_field_label', function ($label, $field) { |
|
|
17
|
+ add_filter('acf/get_field_label', function($label, $field) { |
|
18
|
18
|
if ($field['type'] === 'flexible_content') { |
|
19
|
19
|
$label .= '<span class="flexible-content-controls">'; |
|
20
|
20
|
$label .= '<span class="flexible-content-control"><a class="acf-icon small -collapse collapse-all" title="collapse all"></a></span>'; |
Please login to merge, or discard this patch.