Hi,
If anyone could help me with the following snippet settings as I would like to add it to Code Snippets.
function mymodule_curl_before_request($curlhandle){
session_write_close();
}
add_action( ‘requests-curl.before_request’,’mymodule_curl_before_request’, 9999 );
1. Do I run the snippet everywhere or only in admin?
2. Also due to it placing the priority as 9999, do I also change the priority in Code Snippets page at the bottom right to 9999 as well?
Some help would be much appreciated.
Thanks in advance