Set post tags from a POD custom field field value
-
I extent the build in post post_type and add some custom fields. I want set the values of a custom field as tags.
I write a function and I use using pod() to get custom field values and wp_set_object_terms() to set tags, I call this function with save_post filter.
The problem is when I create new post and save it for first time I receive error “Call to a member function field() on bool”
I try to use pods_api_post_save_pod_item_post filter than save post but without success
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Set post tags from a POD custom field field value’ is closed to new replies.