Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author hunk

    (@hunk)

    which type functions? some who add/update/delete to MF tables value-relationships ? some like this:

    add_to_mf(post_type,field_name,value, group_index*,field_index*)

    save all FM relationships, save the value in post_meta of WP.

    Thread Starter hav_ngs_ru

    (@hav_ngs_ru)

    yes, like this.
    to be correct, I meant a function that adds standart wp meta to post AND saves mf relationship, because if I use mf, all add/upd/del meta operations should respect mf relationship.

    add_post_meta_mf(post_type,field_name,value, group_index*,field_index*)

    or maybe you could hook add/upd/del meta operations, and update mf relationship from here (both for admin-panel updates and for user-called add_post_meta), without adding new functionality, just using existing for both cases.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Backend functions for add, update and delete metas’ is closed to new replies.