Skip to content

Commit a539451

Browse files
authored
Merge pull request #709 from helsingborg-stad/feat/box-icon-added-manual-input
Feat: adding icon select for manual input box
2 parents 9e2dca6 + cfc8591 commit a539451

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

library/Admin/Acf/PrefillIconChoice.php

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class PrefillIconChoice
99
*/
1010
public function __construct()
1111
{
12+
/* TODO: Remove when removing manual input from post module */
1213
add_filter(
1314
'acf/load_field/name=menu_item_icon',
1415
array($this, 'addIconsList')
@@ -23,6 +24,11 @@ public function __construct()
2324
'acf/load_field/name=mega_menu_button_icon',
2425
array($this, 'addIconsList')
2526
);
27+
28+
add_filter(
29+
'acf/load_field/name=box_icon',
30+
array($this, 'addIconsList')
31+
);
2632
}
2733

2834
/**

0 commit comments

Comments
 (0)