HUSKY - Product Filter for WooCommerce

woof_print_html_type_options_{type}

プラグイン設定ページの「Settings」タブにある設定ブロックを描画するために、すべての拡張機能で使用されます。

 
add_action('woof_print_html_type_options_' . $this->html_type, array($this, 'woof_print_html_type_options'), 10, 1);

//settings page hook
    public function woof_print_html_type_options()
    {
      global $WOOF;
      if($WOOF){
        echo woof()->render_html($this->get_ext_path() . 'views/options.php', array(
            'key' => $this->html_type,
            "woof_settings" => get_option('woof_settings', array())
                )
        );
       }
    }