I am a user of WHM, recently installed and still testing cyberpanel where openlitspeed is installed as web server.
in cPanel/WHM where apache is installed as web server, have available option to add "Pre Main Include", "Pre VirtualHost Include" and "Post VirtualHost Include" fields to insert...