add_field( array( 'id' => 'wc_remove_product_base', 'type' => 'switch', 'name' => esc_html__( 'Remove base', 'rank-math' ), 'desc' => esc_html__( 'Remove prefix from product URL.', 'rank-math' ) . '
' . esc_html__( 'default: /product/accessories/action-figures/acme/ - changed: /accessories/action-figures/acme/', 'rank-math' ) . '', 'default' => 'off', ) ); $cmb->add_field( array( 'id' => 'wc_remove_category_base', 'type' => 'switch', 'name' => esc_html__( 'Remove category base', 'rank-math' ), 'desc' => esc_html__( 'Remove prefix from category URL.', 'rank-math' ) . '
' . esc_html__( 'default: /product-category/accessories/action-figures/ - changed: /accessories/action-figures/', 'rank-math' ) . '', 'default' => 'off', ) ); $cmb->add_field( array( 'id' => 'wc_remove_category_parent_slugs', 'type' => 'switch', 'name' => esc_html__( ' Remove parent slugs', 'rank-math' ), 'desc' => esc_html__( 'Remove parent slugs from category URL.', 'rank-math' ) . '
' . esc_html__( 'default: /product-category/accessories/action-figures/ - changed: /product-category/action-figures/', 'rank-math' ) . '', 'default' => 'off', ) ); $cmb->add_field( array( 'id' => 'wc_remove_generator', 'type' => 'switch', 'name' => esc_html__( 'Remove Generator Tag', 'rank-math' ), 'desc' => esc_html__( 'Remove WooCommerce generator tag from the source code.', 'rank-math' ), 'default' => 'on', ) ); $cmb->add_field( array( 'id' => 'remove_shop_snippet_data', 'type' => 'switch', 'name' => esc_html__( 'Remove Snippet Data', 'rank-math' ), 'desc' => esc_html__( 'Remove Snippet Data from WooCommerce Shop page.', 'rank-math' ), 'default' => 'on', ) ); $cmb->add_field( array( 'id' => 'product_brand', 'type' => 'select', 'name' => esc_html__( 'Brand', 'rank-math' ), 'desc' => esc_html__( 'Select Product Brand Taxonomy to use in Schema.org & OpenGraph markup.', 'rank-math' ), 'options' => Helper::get_object_taxonomies( 'product', 'choices', false ), ) );