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_Plan
  • DFW_Manage_Plans
  • DFW_Scheduled_Plan_Orders

Class DFW_Manage_Plans

Manage the Payment Plans

Package: Deposits-for-WooCommerce\Payment-Plans
Category: Classes
Author: Tyche Softwares
Since: 1.0
Located at includes/class-dfw-manage-plans.php

Methods summary

public static array
# get_plans( )

Get the data for all payment plans

Get the data for all payment plans

Returns

array

Since

1.0

Globals

$wpdb
public static array
# get_plan( integer $plan_id )

Get the data for a specific plan from plan id

Get the data for a specific plan from plan id

Parameters

$plan_id
Payment Plan ID

Returns

array

Since

1.0

Globals

$wpdb
public static array
# get_plan_ids( )

Get the IDs of all payment plans

Get the IDs of all payment plans

Returns

array

Since

1.0
public static array
# get_default_plan_ids( )

Get the ids of the payment plans selected in global settings

Get the ids of the payment plans selected in global settings

Returns

array

Since

1.0
public static array
# get_default_plans( )

Get the data for the payment plans selected in the global settings

Get the data for the payment plans selected in the global settings

Returns

array

Since

1.0
public static array
# get_plan_ids_for_product( integer $product_id )

Get the plan ids of the payment plans selected for a particular product

Get the plan ids of the payment plans selected for a particular product

Parameters

$product_id
Product ID

Returns

array

Since

1.0
public static array
# get_plans_for_product( integer $product_id )

Get the data for the payment plans for a particular product

Get the data for the payment plans for a particular product

Parameters

$product_id
Product ID

Returns

array

Since

1.0
API documentation generated by ApiGen