Hi Johan.
I the tutorial I click this link https://gregrickaby.com/2016/06/modify-wordpress-custom-post-type/ and then ” post.php “.
Now I am seeing and that piece of code:
1017 $args = apply_filters( 'register_post_type_args', $args, $post_type );
1018
1019 $has_edit_link = ! empty( $args['_edit_link'] );
1020
1021 // Args prefixed with an underscore are reserved for internal use.
1022 $defaults = array(
1023 'labels' => array(),
1024 'description' => '',
1025 'public' => false,
1026 'hierarchical' => false,
1027 'exclude_from_search' => null,
1028 'publicly_queryable' => null,
1029 'show_ui' => null,
1030 'show_in_menu' => null,
1031 'show_in_nav_menus' => null,
1032 'show_in_admin_bar' => null,
1033 'menu_position' => null,
1034 'menu_icon' => null,
1035 'capability_type' => 'post',
1036 'capabilities' => array(),
1037 'map_meta_cap' => null,
1038 'supports' => array(),
1039 'register_meta_box_cb' => null,
1040 'taxonomies' => array(),
1041 'has_archive' => false,
1042 'rewrite' => true,
1043 'query_var' => true,
1044 'can_export' => true,
1045 'delete_with_user' => null,
1046 '_builtin' => false,
1047 '_edit_link' => 'post.php?post=%d',
1048 );
Where I must paste the code you have sent to me?
‘taxonomies’ => array(‘tags’, ‘category’ ),
Thank you.