Allow 3rd parties to control whether "Allow backorder?" option will use radio buttons or a select.
true
Sortie :
@param bool If false, "Allow backorders?" will be shown as a select. Default: it will use radio buttons.
// Modifier la valeur avec le filtre 'woocommerce_product_allow_backorder_use_radio'
add_filter('woocommerce_product_allow_backorder_use_radio', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(true) {
// Modifier la valeur
return true;
}
Chargement des actualités...