Support » Plugin: Multi Image Metabox » Images do not work with my costum content types

Viewing 1 replies (of 1 total)
  • Plugin Author Willy Bahuaud

    (@willybahuaud)

    Hi!

    To use Multi Image Metabox with your own post types, you just have to past this into your functions.php theme file :

    add_filter('images_cpt','my_image_cpt');
    function my_image_cpt(){
       $cpts = array('page','my_custom_post_type');
       return $cpts;
    }

    🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Images do not work with my costum content types’ is closed to new replies.