[19-Aug-2024 16:54:23 Europe/Helsinki] PHP Fatal error:  Uncaught Error: Call to undefined function add_action() in /home/lauttasaari/public_html/content/plugins/menu-icons/vendor/codeinwp/menu-item-custom-fields/doc/menu-item-custom-fields-example.php:46
Stack trace:
#0 /home/lauttasaari/public_html/content/plugins/menu-icons/vendor/codeinwp/menu-item-custom-fields/doc/menu-item-custom-fields-example.php(138): Menu_Item_Custom_Fields_Example::init()
#1 {main}
  thrown in /home/lauttasaari/public_html/content/plugins/menu-icons/vendor/codeinwp/menu-item-custom-fields/doc/menu-item-custom-fields-example.php on line 46
