Deposit methods
if ( ! function_exists( 'register_deposit_methods_taxonomy' ) ) {
// Register Custom Taxonomy
function register_deposit_methods_taxonomy() {
$labels = array(
'name' => _x( 'Deposit Methods', 'Taxonomy General Name', 'sage' ),
'singular_name' => _x( 'Deposit Method', 'Taxonomy Singular Name', 'sage' ),
'menu_name' => __( 'Deposit methods', 'sage' ),
'all_items' => __( 'All methods', 'sage' ),
'parent_item' => __( 'Parent method', 'sage' ),
'parent_item_colon' => __( 'Parent method:', 'sage' ),
'new_item_name' => __( 'New Method Name', 'sage' ),
'add_new_item' => __( 'Add New Method', 'sage' ),
'edit_item' => __( 'Edit Method', 'sage' ),
'update_item' => __( 'Update Method', 'sage' ),
'view_item' => __( 'View Method', 'sage' ),
'separate_items_with_commas' => __( 'Separate methods with commas', 'sage' ),
'add_or_remove_items' => __( 'Add or remove methods', 'sage' ),
'choose_from_most_used' => __( 'Choose from the most used', 'sage' ),
'popular_items' => __( 'Popular Methods', 'sage' ),
'search_items' => __( 'Search Methods', 'sage' ),
'not_found' => __( 'Not Found', 'sage' ),
'no_terms' => __( 'No methods', 'sage' ),
'items_list' => __( 'Methods list', 'sage' ),
'items_list_navigation' => __( 'Methods list navigation', 'sage' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => false,
'show_tagcloud' => false,
);
register_taxonomy( 'deposit-methods', array( 'casino' ), $args );
}
add_action( 'init', 'register_deposit_methods_taxonomy', 0 );
}