WC_Settings_Payment_Gateways_React::get_reactify_render_sections()
Get the whitelist of sections to render using React.
Method of the class: WC_Settings_Payment_Gateways_React{}
Hooks from the method
Return
Array
. List of section identifiers.
Usage
// private - for code of main (parent) class only $result = $this->get_reactify_render_sections();
WC_Settings_Payment_Gateways_React::get_reactify_render_sections() WC Settings Payment Gateways React::get reactify render sections code WC 9.5.1
private function get_reactify_render_sections() { $sections = array( 'offline', 'woocommerce_payments', 'main', ); /** * Filters the list of payment settings sections to be rendered using React. * * @since 9.3.0 * * @param array $sections List of section identifiers. */ return apply_filters( 'experimental_woocommerce_admin_payment_reactify_render_sections', $sections ); }