Note: This function isn't meant to be used by plugins or themes. As explained later, there are better, more performant options to alter the main query. ...