Support

Account

Home Forums General Issues If True do this / False do that Reply To: If True do this / False do that

  • I used this withe the true/false Field Type :

    $true = get_post_meta( get_the_ID(), 'true_false', true );
    
    if ( $true == '1' ) {
    
        // Do Something
    
    }