I have a custom field for User type where I can link an attachement ID. I’m trying to save the attachment ID programmatically and it looks like it works, because when I run get_field($my_field) I have the right value. However the changes are not seen in the backend or in rest api, it still show the old value. I’m baffled, what could I be doing wrong?
Here is my code:
But in the backend there is still the old link to another image, and in the rest response for wp-json/wp/v2/users/2 also:
Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com