WC_Admin_Permalink_Settings::product_category_slug_input()
Show a slug input box.
Method of the class: WC_Admin_Permalink_Settings{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Admin_Permalink_Settings = new WC_Admin_Permalink_Settings(); $WC_Admin_Permalink_Settings->product_category_slug_input();
WC_Admin_Permalink_Settings::product_category_slug_input() WC Admin Permalink Settings::product category slug input code WC 9.4.2
<?php public function product_category_slug_input() { ?> <input name="woocommerce_product_category_slug" type="text" class="regular-text code" value="<?php echo esc_attr( $this->permalinks['category_base'] ); ?>" placeholder="<?php echo esc_attr_x( 'product-category', 'slug', 'woocommerce' ); ?>" /> <?php }