• Sean

    (@sferguson)


    Hello,

    We have the pro version of the plugin and are sending data to the Google Sheet when a new custom post type post is created. Strangely enough, custom fields attached to the post type are going into the Google Sheet successfully, but standard fields such as post_title, post_date, etc. are all blank going into the spreadsheet. The cells just get populated with --.

    In looking at the log page, I see two entries for each new post:

    • SUCCESS: okay, on the event A1 — this event’s post_title, post_date, etc. are --
    • SUCCESS: testing the post edited publish. — this event’s post_title, post_date, etc. have the correct content listed

    I’m not sure what the difference is between these two log events, but the event where the fields are “–” seems to be what’s being sent to the Google Sheet.

    Any idea why these standard fields aren’t making it to the Google Sheet?

    Thanks

    • This topic was modified 4 years ago by Sean.
Viewing 1 replies (of 1 total)
  • Plugin Author javmah

    (@javmah)

    Dear Sean (@sferguson),
    Thank you for your ticket. I hope you are doing Great. As you know this plugin uses WordPress Hooks, When hooks are fired it takes the data and sends that without any modification. if there is no data it sent ‘–‘ as a placeholder so that the user knows there is no data on this place. below is an example code.
    !empty($user->first_name) ? $user->first_name : "--"
    As you know this plugin didn’t have any data it just sent generated data. I hope you understand the condition. thanks & best regards

Viewing 1 replies (of 1 total)

The topic ‘Standard post fields (post_title, post_date, etc.) blank’ is closed to new replies.