Advertisement
kkarpieszuk

tradematik register custom post type

Feb 13th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. add_action( 'add_meta_boxes', 'portfolio_product_box_add' );
  2.  
  3. function portfolio_product_box_add() {
  4. $meta_box_tradematik=get_meta_box();
  5.  
  6. add_meta_box($meta_box_tradematik['id'], $meta_box_tradematik['title'], 'tradematik_product_box', 'portfolio', $meta_box_tradematik['context'], $meta_box_tradematik['priority']);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement