Answers for "wordpress post types supports thumbnail"

PHP
0

wordpress post types supports thumbnail

<?php 
$args = array(
  /* ... */
  'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
 ); 
  register_post_type('book',$args);
}
add_action( 'init', 'custom_post_init' );
Posted by: Guest on May-25-2021

Code answers related to "wordpress post types supports thumbnail"

Browse Popular Code Answers by Language