Modify the optional set of payments settings sections to be rendered using React. This filter allows plugins to add or remove optional sections (typically offline gateways) that should be rendered using React. Sections should be identified by their gateway IDs. Note: The main Payments page ("main") and the Offline overview ("offline") are always React-only and cannot be disabled via this filter.
$optional_reactified_sections
Sortie :
@param array $sections List of section identifiers to be rendered using React.
// Modifier la valeur avec le filtre 'experimental_woocommerce_admin_payment_reactify_render_sections'
add_filter('experimental_woocommerce_admin_payment_reactify_render_sections', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($optional_reactified_sections) {
// Modifier la valeur
return $optional_reactified_sections;
}
Chargement des actualités...