• I tryed to use $_POST global variable but it contain _wpcf7_container_post = 0
    How can i get current WP post ID?

    array (
      '_wpcf7' => '59139',
      '_wpcf7_version' => '5.4.2',
      '_wpcf7_locale' => 'en_US',
      '_wpcf7_unit_tag' => 'wpcf7-f59139-o1',
      '_wpcf7_container_post' => '0',
      '_wpcf7_posted_data_hash' => '',
      'text-name' => 'TEST',
      'email-fild' => '[email protected]',
      'tel-fild' => '0971234561236',
      '_wpcf7_ak_hp_textarea' => '',
      '_wpcf7_ak_js' => '1658404213563',
    )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How get current WP post ID in CF7 hooks?’ is closed to new replies.