Posts by Lukan Dos Santos Pinto • 5 points
6 posts
-
0
votes1
answer26
viewsQ: Detect which tag is being selected
Hello! I have a jquery function that is triggered by two tags ("select" and "input") as in the code below: $('.checkout-wrapper').on('blur', '.woocommerce-shipping-fields input,…
-
0
votes1
answer18
viewsQ: Add a subenpoint to myaccount Woocommerce
i am creating a page for Woocommerce myaccount menu, and realized the need to add a sub endpoint and don’t know how to do it, does anyone have any idea? I tried…
-
0
votes1
answer34
viewsA: Filter Input with array key
I put this code and it worked: $filters = array( 'image_ids' => array( 'filter' => FILTER_VALIDATE_INT, 'flags' => FILTER_REQUIRE_ARRAY ) ); $images = filter_input_array(INPUT_POST,…
phpanswered Lukan Dos Santos Pinto 5 -
0
votes1
answer34
viewsQ: Filter Input with array key
I am receiving data from a form, and has a field that is comes in array from $_POST that is so: Array ( [image_ids] => Array ( [0] => 831 [1] => 789 ) ) And I want to take the amount by…
phpasked Lukan Dos Santos Pinto 5 -
0
votes2
answers318
viewsA: "fixed" footer at the bottom of the page, but after the content
Puts padding-bottom in the body that solves the problem of large content, the question of centralizing content by what I understood you need a padding in the elements also…
-
0
votes2
answers29
viewsA: Postage slab and exceptional
Makes a while reducing weight: $peso = 31; $valor = 0; while($peso >= 0){ if( $peso - 30 >= 0 ){ $peso -= 30; $valor += 20; } if( $peso - 3 >= 0 ){ $peso -= 3; $valor += 6; } if( $peso - 2…
phpanswered Lukan Dos Santos Pinto 5