WC_Settings_Payment_Gateways_React::get_reactify_render_sections()
Get the whitelist of sections to render using React.
Метод класса: WC_Settings_Payment_Gateways_React{}
Возвращает
Массив
. List of section identifiers.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_reactify_render_sections();
Код WC_Settings_Payment_Gateways_React::get_reactify_render_sections() WC Settings Payment Gateways React::get reactify render sections WC 9.4.2
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 ); }