experimental_woocommerce_admin_payment_reactify_render_sections, $optional_reactified_sections
experimental_woocommerce_admin_payment_reactify_render_sections, $optional_reactified_sections
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('experimental_woocommerce_admin_payment_reactify_render_sections, $optional_reactified_sections') is found 1 times:
- /includes/admin/settings/class-wc-settings-payment-gateways.php line 201
* @since 9.3.0 * * @param array $sections List of section identifiers to be rendered using React. */ $optional_reactified_sections = apply_filters( 'experimental_woocommerce_admin_payment_reactify_render_sections', $optional_reactified_sections ); if ( empty( $optional_reactified_sections ) || ! is_array( $optional_reactified_sections ) ) { // Sanity check: use empty array if the filter returns something unexpected. $optional_reactified_sections = array(); } else { // Enforce a list format and string-only values for section identifiers. $optional_reactified_sections = array_values( array_filter( $optional_reactified_sections, 'is_string' ) );