WC_Settings_Payment_Gateways_React::should_render_react_section()
Check if the given section should be rendered using React.
Method of the class: WC_Settings_Payment_Gateways_React{}
No Hooks.
Return
true|false
. Whether the section should be rendered using React.
Usage
// private - for code of main (parent) class only $result = $this->should_render_react_section( $section );
- $section(string) (required)
- The section to check.
WC_Settings_Payment_Gateways_React::should_render_react_section() WC Settings Payment Gateways React::should render react section code WC 9.5.1
private function should_render_react_section( $section ) { return in_array( $section, $this->get_reactify_render_sections(), true ); }