Using WordPress API to mass update posts freezes the server

This guy here got the following results doing something like “If you are importing a high volume of posts, go make a cup of tea. For this tutorial, I have created around ~1600 dummy posts. The progress bar below is up to 429/1600 after 4 minutes. It took around 15 minutes to complete the 1600 … Read more

Forminator + Hubspot Workflows

For anyone that want’s to know, I fixed it myself: function send_form_data_to_hubspot_pipeline($form_data, $form_id) { // Set the API key and pipeline ID $api_key = ‘YOUR-HS-API-KEY’; $pipeline_id = ‘YOUR-PIPELINE-ID’; // Create the contact data array $contact_data = array( ‘properties’ => array( array( ‘property’ => ’email’, ‘value’ => $form_data[’email-1′] ), array( ‘property’ => ‘firstname’, ‘value’ => $form_data[‘name-1’] … Read more

JS WordPress API fetch no response headers

I’ve finally got it, the parse is not an argument of query but is actually the second argument of apiFetch so it should’ve been: const response = await apiFetch({ path: addQueryArgs(‘/wp/v2/posts’, query), parse: false, });