HUSKY - Product Filter for WooCommerce

woof_print_option_advanced

Fires inside the Advanced settings options area after the force_ext_disable option field, allowing extensions to add additional option fields.

Source File

views/plugin_options.php:1872

Code Example

add_action('woof_print_option_advanced', function() {
    ?>
    <div class="woof-control-section">
        <h5><?php esc_html_e('Custom Setting', 'my-textdomain'); ?></h5>
        <div class="woof-control-container">
            <input type="text" name="woof_settings[my_custom_setting]" value="" />
        </div>
    </div>
    <?php
});

Usage Notes

  • Fires before woof_print_applications_tabs_content_advanced, within the Advanced tab section.
  • Fields added here follow the standard WOOF control-section markup pattern.
  • Custom option values can be accessed via woof()->settings['my_custom_setting'].