callback of metabox
-
I’m trying to move around the metabox from “side” to “normal“. In other words, from the right panel to the middle section in a custom post.
While it is easy to remove an existing meta box created in CPT, I’m unsure how to actually add it back? Adding it back requires me to include the callback function as a param in
add_meta_box
. And I have no idea where I can find the name of the callback.This is the code I’m using, everything should be working except that I’m missing the callback:
add_action('add_meta_boxes', 'add_this_metabox'); function add_this_metabox(){ add_meta_box('my-movie-id','Metabox Movie Title', 'callback', 'movie', 'normal', 'high'); }
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘callback of metabox’ is closed to new replies.