How to ‘clone’ select metabox options with a callback function?

The question: Here is my metabox array( ‘id’ => ‘all_btns’, ‘name’ => ‘Button Select’, ‘type’ => ‘select’, ‘options’ => array( ‘button’ => ‘Button’, ‘button_red’ => ‘Button Red’, ‘button_yellow’ => ‘Button Yellow’, ), ‘callback’ => ‘metabox_clone_options’, ), I want to clone this options to another metabox array The Solutions: Below are the methods you can try. … Read more