Not sure about your specific cURL script but the base cURL function can be found here inside of WordPress:
https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/class-wp-http-curl.php#L220
Also remember modifying WordPress core can cause issues so it’s always best to try to leverage hooks and filters. You may be able to modify the default cURL request via http_api_curl.
https://developer.wordpress.org/reference/hooks/http_api_curl/
This article also breaks down PHP, cURL and WordPress with more detail: https://deliciousbrains.com/php-curl-how-wordpress-makes-http-requests/
Hope this helps!
Related Posts:
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- Uploading media with the REST API
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- cURL 28 error after switch from to brew php 7.2 on localhost
- Creating a post with the REST API, curl and oauth returning 401 error
- Installing wp3.2.1 on IIS; getting empty sessions
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Use wp_remote_get to get JSON instagram feed from public profile
- wordpress upgrade has broken my permalinks
- Creating login session via CURL
- export a csv file from the database with a cronjob
- Programmatic Login from 3rd Party site
- get post content of particular post by url
- Configure Php server with ISAP
- WordPress from url get external source title
- Hardening uploads folder in IIS breaks images
- WordPress transient not working with WP Engine
- How to send a HTTP Post request using PHP Curl and WordPress
- SOAP Request/Parsing XML From wp_send_json_success
- REST API works in browser and via AJAX but fails via cURL
- cURL error 6 on news area, and also won’t auto update
- Post to WordPress from another Server via PHP
- Accessing an API with jQuery and AJAX
- calling admin-ajax.php from admin-ajax.php
- Suddenly got alert when trying to login to admin panel of wordpress
- Unable to update plug-ins – Undefined index a:1:{s:3:”ssl”;b:1;} in class-requests.php on line 213
- Contactform7: display results from CURL
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- What is different about using admin-ajax.php in an endpoint and just submitting a form from the front end?
- cURL running slow in WordPress
- Trouble Sending Elementor Form Data via cURL in WordPress
- How do I make a redirect in PHP?
- WordPress and event-driven programming – what is it about?
- Retrieve POST data from AJAX call
- How to include external page to wordpress page?
- Facebook Comment Count
- How to overwrite youtube embed?
- How to resize image on client-side before upload?
- Filter the blog title displayed in the header
- Foreach insert query the best way
- How to generate page content from database the right way?
- How do I show the featured images for my child pages on my parent pages?
- dynamic php inside wordpress page
- Converting MYSQL to WordPress $WPDB
- WP_Query loop, does not display special characters in title correctly
- Get Admin Email Address From External PHP page
- How do I get current page ID in WordPress customizer file?
- How to insert a single row to WP database table?
- Get date numerical and separate?
- How to iterate within Magic Fields Group foreach loop? [closed]
- How to check if a meta value has already been assigned to any user?
- Notice : add_theme_support( ‘post-formats’ ) was called incorrectly [closed]
- PHP, Creating a dynamic variable
- Parse error: syntax error, unexpected ‘}’ surrounding a while
- Shortcode with PHP issue “Undefined index”
- Custom PHP script throws critical error ONLY when editing page
- Querying Database with wpdb
- Is it possible to define variables in a wordpress shortcode, and then call the shortcode using a specific variable?
- php esc_html_e with an html link inside not working
- How to get the last category name of a child category?
- How can I add a UTM tag with PHP code to pick up the post slug dynamically in the UTM?
- get post id from wp_insert_post for get_template_part
- Custom Taxonomy Select Menu: Setting default option value?
- How to add author’s posts link (HTML + PHP) inside a function to output it
- Accidentally deleted php code in WordPress website [closed]
- WordPress Twenty Eleven PhP – forcing php code to skip first post on homepage?
- Cloning add_settings_field() with jQuery
- How to load previous or next attachment with jquery ?
- How to get the second slug of a page url?
- custom add note meta box with add button in wordpress
- Display Sibling WooCommerce Product Categories on Archive Page
- Problem with data collection in tables
- How to set value selected using select2 jquery plugin
- Using ACF Relationship field to set post type to draft or published status
- Add custom HTML data to Contact Form 7 mail?
- Query by pagename not Working
- Posts in two different columns Bootstrap
- Redirecting the lost password page request when using a custon login page
- How to make a vote in the poll for registered users?
- Running local copy of an old WordPress site on MAMP
- Add class for the_post_thumbnail_caption()
- Customizing WooCommerce with PHP
- Undefined variable & issue with smof_data
- Form not working as it should in WordPress, but in a normal HTML site it does
- Pagination reset problem
- Use get_option with $emailTo on contact page
- Hide button based on PHP result
- Adding ID to a Listing but not inside WP_Query while
- PHP in WordPress?
- Where to place PHP for shortcodes
- How do I create a single WordPress page that will use PHP to include different HTML files based on a vaule in the URL?
- Create a custom page URL
- Forbid certain users to access a specific page
- Undefined variable notice [closed]
- Execute multiple PHP Snippets causes error?
- Social Sharing Buttons in Recent Articles List
- Preventing script injections in HTML form
- How to add a php package to an existing wordpress website
- How to access admin menu labels and links on front-end?
- Editing stylehseet url in head section of WordPress