In what order does the Forminator add post metas on creating posts?
-
Hello,
I have two meta values for the posts created with Forminator, and I need to know in which order does Forminator, when creating the post, add these meta fields.
I have the ‘upload-1’ field and the ‘currency-1’ field, as show in the picture below.
Does
add_post_meta( $post_id, 'upload-1', $value );
happen beforeadd_post_meta( $post_id, 'currency-1', $value );
due to the order in the custom fields?I need to know because I have to determine if the hook ‘added_post_meta’ fires first with the ‘upload-1’ meta field or with the ‘currency-1’ field.
thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘In what order does the Forminator add post metas on creating posts?’ is closed to new replies.