WOOT - WooCommerce Active Products Tables

woot_extend_settings_default

This hook is helper for hook woot_extend_settings and allows to set default data there.

Example:

add_action('woot_extend_settings_default', function($defaults) {
            $defaults[$this->setting_key] = 'id,post_title,price';
            return $defaults;
        }, 10, 1);

$this->setting_key – can be string value, for example ‘my_new_option_1‘, see hook woot_extend_settings.