WC_Brands_Admin::product_brand_slug_input
Add a slug input box.
Метод класса: WC_Brands_Admin{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Brands_Admin = new WC_Brands_Admin(); $WC_Brands_Admin->product_brand_slug_input();
Код WC_Brands_Admin::product_brand_slug_input() WC Brands Admin::product brand slug input WC 10.3.4
<?php
public function product_brand_slug_input() {
$permalink = get_option( 'woocommerce_brand_permalink', '' );
?>
<input name="woocommerce_product_brand_slug" type="text" class="regular-text code" value="<?php echo esc_attr( $permalink ); ?>" placeholder="<?php echo esc_attr_x( 'brand', 'slug', 'woocommerce' ); ?>" />
<?php
}