woocommerce_settings_api_form_fields_

woocommerce_settings_api_form_fields_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_settings_api_form_fields_') is found 1 times:

  • /includes/abstracts/abstract-wc-settings-api.php line 67
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    *
     * @return array of options
     */
    public function get_form_fields() {
        return apply_filters( 'woocommerce_settings_api_form_fields_' . $this->id, array_map( array( $this, 'set_defaults' ), $this->form_fields ) );
    }
     
    /**
     * Set default required properties for each field.
     *
     * @param array $field Setting field array.