Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • Deposits-for-WooCommerce
    • Bookings
    • Cart
    • Order
    • Other
    • Payment-Plans
      • Views
    • Products
    • Settings

Classes

  • DFW_Deposits_Settings
  • DFW_Plans_Admin_Settings
  • DFW_Product_Admin_Settings

Class DFW_Deposits_Settings

Global Settings for Deposits under WooCommerce Product settings

Package: Deposits-for-WooCommerce\Settings
Category: Classes
Author: Tyche SOftwares
Since: 1.0
Located at includes/class-dfw-deposits-settings.php

Methods summary

public
# __construct( )

Constructor function

Constructor function

Since

1.o
public
# dfw_add_admin_field_button( array $value )

Add a button to activate the license in the Deposits settings

Add a button to activate the license in the Deposits settings

Parameters

$value
Admin field data

Since

1.0

Hook

woocommerce_admin_field_button
public array
# dfw_add_settings_tab( array $settings_tabs )

Add a settings tab on Edit Product page settings

Add a settings tab on Edit Product page settings

Parameters

$settings_tabs
Settings sections array

Returns

array
$settings_tabs New settings section

Since

1.0

Hook

woocommerce_get_sections_products
public array
# dfw_get_settings( array $settings, array $current_section )

Add settings fields in the settings tab

Add settings fields in the settings tab

Parameters

$settings
Product settings
$current_section
Get current section

Returns

array
$deposit_options Settings for current section

Since

1.0

Hook

woocommerce_get_settings_products
API documentation generated by ApiGen