\dtg\gift_aid_for_woocommerceSettings

Class Settings

Summary

Methods
Properties
Constants
__construct()
run()
add_section()
add_settings()
add_setings_link()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$plugin_root
$plugin_name
$plugin_prefix
N/A

Properties

$plugin_root

$plugin_root : string

Path to the root plugin file.

Type

string

$plugin_name

$plugin_name : string

Plugin name.

Type

string

$plugin_prefix

$plugin_prefix : string

Plugin prefix.

Type

string

Methods

__construct()

__construct() 

Constructor.

run()

run() 

Unleash Hell.

add_section()

add_section(array  $sections) 

Create a Gift Aid section in the tab

Parameters

array $sections

An array of sections.

add_settings()

add_settings(array  $settings) 

Add settings to our section

Parameters

array $settings

An array of settings.

add_setings_link()

add_setings_link(array  $links) 

Add 'Settings' action on installed plugin list.

Parameters

array $links

An array of plugin action links.