WooCommerce Code Reference

Search results

WC_Settings_Payment_Gateways extends WC_Settings_Page

WC_Settings_Payment_Gateways.

Table of Contents

$id Setting page id. string
$label Setting page label. string
__construct() Constructor. mixed
get_sections() Get sections. array
get_settings() Get settings array. array
output() Output the settings. mixed
payment_gateways_setting() Output payment gateway settings. mixed
save() Save settings. mixed
__construct() Constructor. mixed
get_id() Get settings page ID. string
get_label() Get settings page label. string
add_settings_page() Add this page to settings. mixed
get_settings() Get settings array. array
get_sections() Get sections. array
output_sections() Output sections. mixed
output() Output the settings. mixed
save() Save settings. mixed

Properties

Methods

get_settings()

Get settings array.

public get_settings( [ $current_section : string = '' ] ) : array
Parameters
$current_section : string = ''

Section being shown.

Return values
array

get_label()

Get settings page label.

public get_label( ) : string
Tags
since
Return values
string

add_settings_page()

Add this page to settings.

public add_settings_page( $pages : array ) : mixed
Parameters
$pages : array
Return values
mixed
Back to the top