WC_Settings_Payment_Gateways::render_react_sectionprivateWC 1.0

Render the React section.

Method of the class: WC_Settings_Payment_Gateways{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->render_react_section( $section );
$section(string) (required)
The section to render.

WC_Settings_Payment_Gateways::render_react_section() code WC 10.3.3

private function render_react_section( string $section ) {
	global $hide_save_button;
	$hide_save_button = true;
	echo '<div id="experimental_wc_settings_payments_' . esc_attr( $section ) . '"></div>';
}