Hi Eugen,
I used updated_post_meta instead of acf/save_post and it works. Thanks for your help.
Julienta
Thank you very much Eugene.
I changed my code snippet. I did a test and this is what i get in my log:
[27-Jul-2022 12:11:58 UTC] PHP Warning: Undefined array key 0 in /site/wp-content/themes/theme/functions.php
for this line $group = new Groups_Group( $group_ids[0] );
[27-Jul-2022 12:11:58 UTC] PHP Warning: Attempt to read property “name” on bool in /site/wp-content/plugins/groups/lib/core/class-groups-group.php on line 78
[27-Jul-2022 12:12:01 UTC] This message was sent to the following group:
I use version 2.16.2 of the plugin.
Julienta
Hi Eugen Bleck,
Thank you for this feedback. I’m really sorry for these errors. However, variables always return 1. I can’t get the group id.
Thank you,
Julienta