For my own plugins I want all of them be fully compatible with ClassicPress. I KNOW they are technically all compatible - but I mean the user guiding etc., also strings, labels, texts for the user.
Since I want the best user experience possible, I need to change some strings in help texts etc. depending on WP or CP being there. And for that I need a fully reliable and future proof way to detect if someone runs WP or ClassicPress.
Is there any function or method you consider best practice?
Sometimes I wish I didn’t understand code like this, as it means I’m spending wayyy too much time inside a computer. But understand I do, lol. And I was actually just thinking of this very if/and code about an hour ago. Karma. TY for code block open ``` – that should come in handy at some point.
OK, back to learning React. Now that’s a heavy lift.