WC_Admin_Permalink_Settings::product_category_slug_input()publicWC 1.0

Show a slug input box.

Метод класса: WC_Admin_Permalink_Settings{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$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 9.3.3

<?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
}