Warranty Result CSS

html { font-size: 62.5%; } @media screen and (max-width: 37.5em) { html { font-size: 50%; } } .g-recaptcha{ } .loader-container { display: flex; align-items: center; justify-content: center; } .loader { display: block; width: 48px; height: 48px; border-radius: 50%; position: relative;…Continue reading

Tablepress_get_cell

function tablepress_cell_to_url_shortcode( $atts ) { $atts = shortcode_atts( array( ‘table_id’ => ”, ‘row’ => 1, ‘col’ => 1, ‘page’ => ”, // Zielseite ‘param’ => ‘wert’, // Parametername ), $atts, ‘tablepress_link’ ); $table_data = tablepress_get_table( $atts[‘table_id’], true ); if (…Continue reading

Donation Form Email Check (Advanced)

add_filter(‘charitable_validate_donation_form_submission_email_check’, ‘charitable_test_for_email’, 10, 2 ); function charitable_test_for_email( $valid, $submitted ) { $email = $submitted->get_submitted_value( ’email’ ); if ( ! is_valid_email( $email ) ) { return false; } return $valid; } function is_valid_email($email) { // Use PHP’s built-in function to split…Continue reading