experimental_woocommerce_admin_payment_reactify_render_sections
Filters the list of payment settings sections to be rendered using React.
Usage
add_filter( 'experimental_woocommerce_admin_payment_reactify_render_sections', 'wp_kama_experimental_woocommerce_admin_payment_reactify_render_sections_filter' ); /** * Function for `experimental_woocommerce_admin_payment_reactify_render_sections` filter-hook. * * @param array $sections List of section identifiers. * * @return array */ function wp_kama_experimental_woocommerce_admin_payment_reactify_render_sections_filter( $sections ){ // filter... return $sections; }
- $sections(array)
- List of section identifiers.
Changelog
Since 9.3.0 | Introduced. |
Where the hook is called
experimental_woocommerce_admin_payment_reactify_render_sections
woocommerce/includes/admin/settings/class-wc-settings-payment-gateways-react.php 41
return apply_filters( 'experimental_woocommerce_admin_payment_reactify_render_sections', $sections );