• Resolved Luca

    (@screenload)


    I’m trying to import products via PHP script and also set thier visibility.

    The problem is, if I just update the post meta (_alg_wc_pvbur_invisible) with “guest” it doesn’t work. If I try to put in the whole json string, the update_post_meta() function completly re-formats the whole string and it also doesn’t work.

    Is there a way to update the roles visibilities via PHP?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update roles via PHP’ is closed to new replies.