Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Show/hide admin columns by front-end input #38205
    kadotakadota
    Participant

    Hi Long,

    I need to make it happen the other way around: depending on the field's value, one role can see it or not. Let's say it's a select/radio button: if the Dog option is selected, the role Dog Reviewer can see that row in the admin column. Is that possible to achieve with MetaBox?

    in reply to: How to use update_post_meta with Metabox? #36298
    kadotakadota
    Participant

    Sorry, my bad. The problem was with using product variations—$product->get_sku() wasn't working. In case someone needs it, this is how you can get it:

    get_post_meta( $item['variation_id'], '_sku', true );

Viewing 2 posts - 1 through 2 (of 2 total)