• I thing it would be good to have a backend functions to manage metas (with respect the wp_mf_xxx tables).
    for now, if I trying to fill content from some database, or customize email-posting, or use add_post_meta/update_post_meta/delete_post_meta for some other reasons – I will not reach expected result, because of aditional data MF stores in wp_mf_*** tables, and I have to to perform the duties of plugin by myself to make standart wp metas clear for MF.

    can we expect of adding this fuctions in near future?

    https://www.ads-software.com/plugins/magic-fields-2/

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.