Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Duplicated update_post_meta in multi-instances of the boilerplate #102

Open
rafasashi opened this issue Apr 4, 2023 · 0 comments
Open

Comments

@rafasashi
Copy link
Contributor

If you use multiple instances of the boilerplate the following line is going to take all the fields created by all the instances and duplicate the update process.

$fields = apply_filters( $post->post_type . '_custom_fields', array(), $post->post_type );

Any idea on how to prevent this redundancy?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant