I'm looking for a little help with the Contact Form 7 Signature Addon in Wordpress.
I am trying to pass the Post ID to the addon plugin file that creates and uploads the signature PNG image but not having any success. The below code does not work: (file: class-wpcf7-signature-mail.php)
// Get post id here
global $wp_query;
$postid = $wp_query->post->ID;
The post ID is coming up blank.
So instead of:
758.png
I get:
.png (missing post id before the .png)
If anyone can help point me in the right directions I'd greatly appreciate it.
I am trying to pass the Post ID to the addon plugin file that creates and uploads the signature PNG image but not having any success. The below code does not work: (file: class-wpcf7-signature-mail.php)
// Get post id here
global $wp_query;
$postid = $wp_query->post->ID;
The post ID is coming up blank.
So instead of:
758.png
I get:
.png (missing post id before the .png)
If anyone can help point me in the right directions I'd greatly appreciate it.