_x( 'Visualizzatore dataset XML Anac', 'avcp' ), 'singular_name' => _x( 'Dataset XML', 'avcp' ), 'add_new' => _x( 'Nuovo Dataset', 'avcp' ), 'add_new_item' => _x( 'Importa Nuovo Dataset', 'avcp' ), 'edit_item' => _x( 'Modifica Dataset', 'avcp' ), 'new_item' => _x( 'Nuovo Dataset', 'avcp' ), 'view_item' => _x( 'Vedi Dataset', 'avcp' ), 'search_items' => _x( 'Cerca Dataset', 'avcp' ), 'not_found' => _x( 'Nessuna voce trovata', 'avcp' ), 'not_found_in_trash' => _x( 'Nessuna voce trovata', 'avcp' ), 'parent_item_colon' => _x( 'Parent:', 'avcp' ), 'menu_name' => _x( 'Anac XML', 'avcp' ), ); if ( function_exists( 'register_cpt_avcp' ) ) { $showinmenu = 'edit.php?post_type=avcp'; } else { $showinmenu = true; } $args = array( 'labels' => $labels, 'hierarchical' => false, 'description' => 'Gare AVCP', 'supports' => array( 'title', 'editor'), 'public' => true, 'show_ui' => true, 'show_in_menu' => $showinmenu, 'menu_position' => 37, 'menu_icon' => 'dashicons-list-view', 'show_in_nav_menus' => false, 'publicly_queryable' => true, 'exclude_from_search' => true, 'has_archive' => false, 'query_var' => true, 'can_export' => false, 'rewrite' => false ); register_post_type( 'anac-xml-view', $args ); } require_once(plugin_dir_path(__FILE__) . 'core.php'); function axv_notices() { global $current_screen; if ( 'anac-xml-view' == $current_screen->post_type ) { echo '
Puoi definire un file XML copiando e incollando l\'intero contenuto o l\'URL completo. Info: youtu.be/cdn082kZogk