• I have a Class with some functions like this:

    Class MY_Box{
    ......
     function zzz(){
       if (...){
       $this->$box_data= $this->box()->key();
       }
     }
    ......
    }

    Now I want to save the variable $box_data into post meta.
    How can I do it?

    Any tip is greatly appreciated!

  • The topic ‘Save to post meta’ is closed to new replies.