PluginProbe
Translation with DeepL API / 2.4.5
Translation with DeepL API v2.4.5
trunk 0.1.20180323 1.0 1.2.5.1 1.5.2.5 1.7.5 2.4.3.12 2.4.3.9 2.4.5
wpdeepl / custom-integration.php

custom-integration.php in Translation with DeepL API 2.4.5, at custom-integration.php

35 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 return;
3
4 /*
5
6 add_action('init', 'test_wpdeepl_taxonomy' );
7 function test_wpdeepl_taxonomy() {
8
9 $labels = array(
10 'name' => _x( 'Formations', 'taxonomy general name', 'textdomain' ),
11 'singular_name' => _x( 'Formation', 'taxonomy singular name', 'textdomain' ),
12 'search_items' => __( 'Search Formations', 'textdomain' ),
13 'all_items' => __( 'All Formations', 'textdomain' ),
14 'parent_item' => __( 'Parent Formation', 'textdomain' ),
15 'parent_item_colon' => __( 'Parent Formation:', 'textdomain' ),
16 'edit_item' => __( 'Edit Formation', 'textdomain' ),
17 'update_item' => __( 'Update Formation', 'textdomain' ),
18 'add_new_item' => __( 'Add New Formation', 'textdomain' ),
19 'new_item_name' => __( 'New Formation Name', 'textdomain' ),
20 'menu_name' => __( 'Formation', 'textdomain' ),
21 );
22
23 $args = array(
24 'labels' => $labels,
25 'public' => true,
26 'rewrite' => false,
27 'hierarchical' => false,
28 'show_ui' => true,
29 'show_admin_column' => true,
30 );
31 register_taxonomy( 'formation','post', $args );
32
33 }
34
35 */