Support » Plugins » Hacks » increase/decrease user meta field

  • Let’s say I have a custom user meta field for ex.
    my_meta_field = X where value X is a number

    I need to increase/decrease thet value after a form submission by the user. I wonder something like my_meta_field++ / my_meta_field–

    Ok forget about the form… this is just an input just to know if should I spend time on it..

    thanks
    ema

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘increase/decrease user meta field’ is closed to new replies.