Support

Account

Forum Replies Created

  • Try that to test what happens:

    $yourname = get_field('your_name');
    var_dump($your_name);

    var_dump show you, what returned by get_field/the_field function.

    to hide your tests from users, put testing code into that check:

    if ( get_current_user_id() == 1 ) { /* if your user_id isn't 1, change 1 into code to your user_id */
    //your testing code here
    }
Viewing 1 post (of 1 total)