• The plugin is saving me tones of time going down the path of caching API results, so thanks.

    However, I’me made a couple tweaks to src/Save.php that you might consider adding as options or defaults

    My ultimate goal in this case is to load posts on a WP site but link to the posts on hubspot.

    To that end I’ve added these additional parameters so the slug matches hubspot (just in case) and so I have a full URL to easily link to:

    ‘post_name’ => $item[‘slug’],
    ‘meta_input’ => array(
    ‘hubspot_url’ => $item[‘url’]
    )

    Similarly, we’re using the meta description field in hubspot, so I’m pulling that over with:
    ‘post_excerpt’ => $item[‘meta_description’]

    And, since the official home for these posts is in hubspot, I’ll disable comments and pings in WordPress to further inhibit unwanted spam comments

    ‘comment_status’ => ‘closed’,
    ‘ping_status’ => ‘closed’

  • The topic ‘input changes’ is closed to new replies.