areas hebrew
if ( ! function_exists( 'dc_areas' ) ) {
// Register Custom Taxonomy
function dc_areas() {
$labels = array(
'name' => _x( 'אזורים', 'Taxonomy General Name', 'dc' ),
'singular_name' => _x( 'אזור', 'Taxonomy Singular Name', 'dc' ),
'menu_name' => __( 'אזורים', 'dc' ),
'all_items' => __( 'כל האזורים', 'dc' ),
'parent_item' => __( 'אזור כללי', 'dc' ),
'parent_item_colon' => __( 'אזור כללי', 'dc' ),
'new_item_name' => __( 'שם אזור חדש', 'dc' ),
'add_new_item' => __( 'הוסף אזור', 'dc' ),
'edit_item' => __( 'עריכת אזור', 'dc' ),
'update_item' => __( 'עדכן אזור', 'dc' ),
'view_item' => __( 'צפה באזור', 'dc' ),
'separate_items_with_commas' => __( 'Separate items with commas', 'dc' ),
'add_or_remove_items' => __( 'הוסף או הסר אזורים', 'dc' ),
'choose_from_most_used' => __( 'Choose from the most used', 'dc' ),
'popular_items' => __( 'אזורים פופולרים', 'dc' ),
'search_items' => __( 'חפש באזורים', 'dc' ),
'not_found' => __( 'לא נמצא', 'dc' ),
'no_terms' => __( 'אין אזורים', 'dc' ),
'items_list' => __( 'רשימת אזורים', 'dc' ),
'items_list_navigation' => __( 'Items list navigation', 'dc' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'area', array( 'product' ), $args );
}
add_action( 'init', 'dc_areas', 0 );
}