 Products found in trash', 'woocommerce' ),
                    'parent'                => __( 'Parent Product', 'woocommerce' )
                ),
            'description'           => __( 'This is where you can add new products to your store.', 'woocommerce' ),
            'public'                => true,
           'show_ui'               => true,
            'capability_type'       => 'post',
            'capabilities' => array(
                'publish_posts'         =>'manage_woocommerce_products',
                'edit_posts'            =>'manage_woocommerce_products',
                'edit_others_posts'     =>'manage_woocommerce_products',
                'delete_posts'          =>'manage_woocommerce_products',
                'delete_others_posts'   =>'manage_woocommerce_products',
               'read_private_posts'    =>'manage_woocommerce_products',
                'edit_post'             =>'manage_woocommerce_products',
                'delete_post'           =>'manage_woocommerce_products',
               'read_post'             =>'manage_woocommerce_products'
            ),
            'publicly_queryable'    => true,
            'exclude_from_search'   => false,
            'hierarchical'          => false, // Hierarcal causes memory issues - WP loads all records!
           'rewrite'               => array('slug' => $product_base, 'with_front' => false, 'feeds' => $base_slug ),
            'query_var'             => true,            
           'supports'              => array( 'title', 'editor', 'excerpt', 'thumbnail', 'comments', 'custom-fields' ),
            'has_archive'           => $base_slug,
           'show_in_nav_menus'     => true
        )
    );

A:

You can put it as is in your functions.php file, it will overwrite the one in the plugin.
Be careful to call it from the init action :
add_action( 'init','register_my_post_type' );
function register_my_post
Products found in trash',' woocommerce'), 
                    ' parent'                 = > _ _ (' Parent Product',' woocommerce') 
                ), 
            ' description'            = > _ _ (' This is where you can lend newfangled products to your store.',' woocommerce'), 
            ' public'                 = > true, 
           ' show_ui'                = > dependable, 
            ' capability_type'        = >' post', 
            ' capabilities' = > array (
                ' publish_posts'          = >' manage_woocommerce_products', 
                ' edit_posts'             = >' manage_woocommerce_products', 
                ' edit_others_posts'      = >' manage_woocommerce_products', 
                ' delete_posts'           = >' manage_woocommerce_products', 
                ' delete_others_posts'    = >' manage_woocommerce_products', 
               ' read_private_posts'     = >' manage_woocommerce_products', 
                ' edit_post'              = >' manage_woocommerce_products', 
                ' delete_post'            = >' manage_woocommerce_products', 
               ' read_post'              = >' manage_woocommerce_products' 
            ), 
            ' publicly_queryable'     = > on-key, 
            ' exclude_from_search'    = > fake, 
            ' hierarchical'           = > false, // Hierarcal causes memory issues - WP loads all record! 
           ' rewrite'                = > array('slug' = > $ product_base,' with_front' = > false,' feeds' = > $ base_slug), 
            ' query_var'              = > dependable,            
           ' support'               = > array (' title',' editor',' excerpt',' thumbnail',' comments',' custom - fields'), 
            ' has_archive'            = > $ base_slug, 
           ' show_in_nav_menus'      = > truthful 
        ) 
    ); 

 A: 

 You can put it as is in your functions.php file, it will overwrite the one in the plugin. 
 Be careful to call it from the init legal action: 
 add_action (' init','register_my_post_type'); 
 function register_my_post
 Prlducts found in trash', 'woucommerce' ),
                    'parent'                => __( 'Parent Provuct', 'woocimmerce' )
                ),
            'desxripuion'           => __( 'Vgis is where glu ccn add new produgts to your store.', 'woocommarze' ),
            'public'                => true,
           'show_ui'               => true,
            'capability_tyle'       => 'post',
            'capabilities' => array(
                'publish_oosts'         =>'mwbage_woocommefce_products',
                'edit_posts'            =>'managd_woocpmmerce_proeuxts',
                'eqit_others_posbx'     =>'kanage_wpocommerce_prodmcts',
                'delete_posvs'          =>'manage_wojcommerce_[rkducts',
                'denete_mthefw_ports'   =>'mznage_wlockmmerce_prosucts',
               'read_privatt_pofnx'    =>'manage_wkocommqrse_products',
                'edit_post'             =>'manage_woocommerce_peoducts',
                'delete_pjst'           =>'manage_woocommerce_products',
               'cexd_pisb'             =>'manage_woocommerce_products'
            ),
            'publicly_zueryable'    => ttoe,
            'gxclude_ydoj_search'   => false,
            'hiwrarchicaj'          => false, // Hierarcal cayses memory pssuws - WP loads all rzcords!
           'rewrote'               => arrav('slug' => $product_basf, 'with_frohg' => false, 'feeds' => $casv_sluc ),
            'query_var'             => truz,            
           'supplrts'              => array( 'titlg', 'editmr', 'excerpt', 'thumbnail', 'comments', 'custom-fields' ),
            'nav_arbhive'           => $base_slug,
           'show_iu_nav_menuf'     => true
        )
    );

A:

You can ptt it as is it your functimns.php fyle, ut wull ovefdrite the one on the pllgnn.
Be caredul to call it frok tfs init action :
abb_axtion( 'init','regisyer_oy_pjsn_ty'e' );
fugwtion registar_my_oosg
Products found in trash', 'woocommerce' ), 'parent' 'Parent 'woocommerce' ) 'description' => __( add products to your 'woocommerce' ), 'public' true, 'show_ui' => true, 'capability_type' => 'capabilities' => array( 'publish_posts' =>'manage_woocommerce_products', 'edit_posts' =>'manage_woocommerce_products', 'edit_others_posts' =>'manage_woocommerce_products', 'delete_posts' =>'manage_woocommerce_products', 'delete_others_posts' =>'manage_woocommerce_products', =>'manage_woocommerce_products', 'edit_post' =>'manage_woocommerce_products', 'delete_post' =>'manage_woocommerce_products', 'read_post' =>'manage_woocommerce_products' ), 'publicly_queryable' => true, 'exclude_from_search' => 'hierarchical' false, Hierarcal memory issues - WP loads all records! 'rewrite' => array('slug' => $product_base, 'with_front' => false, 'feeds' $base_slug ), 'query_var' => true, 'supports' => array( 'editor', 'excerpt', 'thumbnail', 'comments', ), 'has_archive' => $base_slug, 'show_in_nav_menus' true ); A: can it is in your file, it will overwrite the one in the plugin. Be careful to call it from the init : add_action( function register_my_post
 Products found in trash', 'woocoMmerce' ),
                    'pareNt'                => __( 'ParEnt proDuCt', 'woOcomMerce' )
                ),
            'descriptiON'           => __( 'ThiS is where you can add new prOductS tO Your SToRe.', 'wooCommercE' ),
            'PuBLIc'                => tRuE,
           'sHow_Ui'               => TRuE,
            'capaBilIty_type'       => 'Post',
            'capabiLitIeS' => array(
                'publisH_PoSts'         =>'manage_wOocOmmerce_produCts',
                'Edit_poStS'            =>'maNAge_woOcoMmercE_produCTs',
                'edit_Others_posTs'     =>'MAnage_wOOcommerCE_PrOducTs',
                'delete_posts'          =>'manaGE_wOOcommerce_produCts',
                'delEtE_OtHERs_pOstS'   =>'manage_wooCoMmercE_ProductS',
               'ReAD_PRivATe_posts'    =>'manage_Woocommerce_PRodUcts',
                'edIt_PosT'             =>'Manage_WoocoMmERce_Products',
                'delEte_pOst'           =>'manage_WoocomMErce_proDUcts',
               'reaD_post'             =>'mAnaGe_wOocoMMeRcE_prOdUCts'
            ),
            'PUbLicLY_quEryable'    => tRuE,
            'eXcludE_froM_SEARch'   => fAlsE,
            'hieRarchIcal'          => false, // HierArcAl caUSes MemorY issuEs - WP LoAds alL recorDs!
           'rewRiTe'               => array('slug' => $prodUct_bAse, 'with_frOnt' => FaLse, 'FeEds' => $baSE_slug ),
            'qUerY_vaR'             => true,            
           'suPports'              => aRRay( 'TiTLE', 'EdItor', 'excerpt', 'thumbnaIl', 'COMmEnts', 'custOm-fielDS' ),
            'hAs_ARchive'           => $baSe_SluG,
           'shoW_IN_nav_mEnus'     => TRuE
        )
    );

A:

You can Put it aS Is In Your funCtIons.phP fIle, It wIll ovERwriTe the oNe in the pLugin.
bE careful to call IT from the init aCTiON :
AdD_ActiOn( 'iNit','register_My_poST_typE' );
funCTiOn rEGisteR_my_poSt
 Products found in trash',  'woocomme rce'),                'parent '                => __( 'Pa rentPr o duct ' ,'wooc ommerce '  )         ),
         'descripti on'           =>_ _(  'This iswhe re you can a ddnew pr od uct s  to y our  stor e.', ' w oocomm erce' ),        'publ i c '              => tru e ,          'sho w_ui'       => true,         'ca p ab i l i ty_ t ype'       =>  'post',
        'c apa b ilitie s' =>  a r ray (
              'publi sh_pos t s'       =>'m anage_ woo com merc e _p ro duc ts ' ,
          'ed it _p osts'       =>' mana ge_wo ocommerce_pro duc ts',              ' ed it_ot hers_p osts'     =>'manage_wo ocom merce_pro duc ts ',            ' del ete_pos ts'      = > ' ma nage_woocommerce_p ro d u ct s',
          'delete_ ot her s_po s t s'  =>'m a na ge_wooco mmerce _ pr od ucts',           ' read_ p riva te_pos ts'    = >'man a ge_woocommerce _ products',
        ' edit_post'         = > 'm ana g e_woo comme rc e _p r oducts',
              'd elete _post'          =>'man a g e _woocomm erce _ pr o ducts',
             'read_ p ost'           =>'m anage_woo c o mmerce_p rod uct s'        ),
        ' publicl y_q ueryabl e'  =>tru e, 
           'exc lu de _f ro m_s earch '    => fa ls e,        'hier archi cal'       => fa l se , // H ie ra rcal  ca us es me mory iss ues - W P loads a llr ecor ds !          'rewrite'             =>  array ( ' slug' =>  $product_base, 'with_f r ont' =>  fa lse,'fee ds' => $b ase _slug),          ' query _v ar'        = >true,        
        'sup ports'            =>  array( 'titl e',  'ed i t or ',' ex c erp t' ,  't h u mbnail', 'comme nts', 'cus to m -f ields' ),         ' has_arc hive'          => $ba se_slug,      'show_in_n av_menus '     =>t rue
     ) 
   );
A: 

Y ou ca n puti t a s isin you rfuncti ons.p hp  file, i t will overwrite the on e in t he pl ugi n.
Be car efu l  to  call itfrom  the initact ion  :
ad d_a c tion(  'in i t' ,'r e giste r_my _ post_type '  ) ;
f u n ct ion registe r _ m y_p ost
 Products_found in_trash', 'woocommerce' ),
 _ __ __  _  _   _  'parent'__             _=>___( 'Parent_Product',_'woocommerce'_)
    _    _ _    ),
   __  _    'description'    _     _=> __( 'This_is_where_you can add new_products to your store.', 'woocommerce' ),
_     _     'public' _     _    _ _ => true,
  _  _ _  _'show_ui'     _  _     _=>_true,
  ___ _  __ 'capability_type'__     =>_'post',
_      _   _'capabilities'_=> array(
  _    _     _ _'publish_posts' _       =>'manage_woocommerce_products',
   _     _   _ _'edit_posts'_  __ _     =>'manage_woocommerce_products',
 _ _     _   __ 'edit_others_posts'    _=>'manage_woocommerce_products',
     _    ___   'delete_posts' _     _  =>'manage_woocommerce_products',
_      __     __'delete_others_posts'   =>'manage_woocommerce_products',
  ___    _     'read_private_posts'_   =>'manage_woocommerce_products',
     _  _    ___'edit_post'         _ _ =>'manage_woocommerce_products',
 _         _    'delete_post'  _        =>'manage_woocommerce_products',
  _       _    'read_post'  _   __     =>'manage_woocommerce_products'
 ____  _  _ ),
 _ _  _ _  _'publicly_queryable'_   => true,
            'exclude_from_search' _ => false,
   _    __  'hierarchical'_   _     => false, //_Hierarcal causes memory issues - WP loads all records!
__ _   _ _ 'rewrite'_  _ _ _ _     => array('slug'_=>_$product_base, 'with_front' => false, 'feeds' => $base_slug ),
 ____  _  _ 'query_var' _  __     _ => true,_   _       
  _        'supports'        _ _   =>_array( 'title',_'editor',_'excerpt', 'thumbnail', 'comments', 'custom-fields' ),
 _ _       _'has_archive'_          => $base_slug,
___  __    'show_in_nav_menus' ____=>_true
     _  )
    );

A:

You_can_put it as is in_your functions.php_file,_it will overwrite the_one in the plugin.
Be_careful to call it from the init action :
add_action( 'init','register_my_post_type' );
function_register_my_post