Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Casno deposit tax,

if ( ! function_exists( 'register_deposit_methods_taxonomy' ) ) {

// Register Custom Taxonomy
function register_deposit_methods_taxonomy() {

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

}
add_action( 'init', 'register_deposit_methods_taxonomy', 0 );

}