int $thread_id )
Filters the ID of the thread that the current loop belongs to.
(int) ID of the thread.
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.