Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pecha2070

    (@pecha2070)

    guys tell me how to get the values?

    _acf_nonce

    these fields are created in wp-admin/post.php

    
    <div id="acf-form-data" class="acf-hidden">
    <input type="hidden" id="_acf_screen" name="_acf_screen" value="post"><input type="hidden" id="_acf_post_id" name="_acf_post_id" value="691">
    <input type="hidden" id="_acf_validation" name="_acf_validation" value="1">
    <input type="hidden" id="_acf_nonce" name="_acf_nonce" value="0135d4e496">
    <input type="hidden" id="_acf_changed" name="_acf_changed" value="0">	
    </div>
    

    how can I get the same just at the front in my uniform?

    • This reply was modified 5 years, 10 months ago by pecha2070.
    • This reply was modified 5 years, 10 months ago by pecha2070.
    • This reply was modified 5 years, 10 months ago by pecha2070.
    • This reply was modified 5 years, 10 months ago by pecha2070.
    • This reply was modified 5 years, 10 months ago by pecha2070.
    Thread Starter pecha2070

    (@pecha2070)

    I found the reason, the reason was that it was necessary to transfer the “_acf_nonce” field during the POST request, this value can be taken in the WordPress admin panel when creating a post in the browser console

    but here’s the trouble for some reason, the first version of the post revision does not mature :(. he ignores it

Viewing 2 replies - 1 through 2 (of 2 total)