Перейти к содержимому Перейти к боковой панели

Помечено: 

Эта тема содержит 0 ответ, имеет 1 voices.

Последнее обновление: angeloD-14 1 год, 3 месяца назад.

При содействии: Paola Mendiburu.

Автор Сообщения
24 июля, 2024 в 9:14 дп

angeloD-14

Contesto del problema:
Ho inserito una stringa in aspetto/ editor del tema/functions.php, dove deve mostrare un errore inserendo sotto 8 caratteri. La stringa è la seguente:

add_action( 'woocommerce_checkout_process', 'bbloomer_checkout_fields_custom_validation' );

function bbloomer_checkout_fields_custom_validation() {
if ( isset( $_POST['billing_fiscale'] ) && ! empty( $_POST['billing_fiscale'] ) ) {
if ( strlen( $_POST['billing_fiscale'] )