Skip to content

Instantly share code, notes, and snippets.

<php
class WFACP_Conditional_field {
private $conditional_field = [];
private $exclude_wfacp_ids=[];
public function __construct() {
$this->conditional_field = [
'select_user_type' => [
[
'value' => 'privato',
<style>
@media (min-width: 768px){
#container{
height: 390px;
}
}
@media (max-width: 768px){
#container{
height: 190px;
}
function p_iva_update_checkout() {
if ( ! is_checkout() ) return;
?>
<style>
.nascondi{display:none};
</style>
<?php
}
add_action('wp_footer', 'p_iva_update_checkout', 50);

Keybase proof

I hereby claim:

  • I am ratne on github.
  • I am ratne (https://keybase.io/ratne) on keybase.
  • I have a public key whose fingerprint is 88CB 6FAD 34FE E4B8 C9CE CCD9 3EA3 5E6F 3676 E4BA

To claim this, I am signing this object: