Where should I install a PHP library into WordPress so that code in a webpage can activate it?
The best way would be to create a custom plugin for your site. Take a look at the plugin handbook to get started https://developer.wordpress.org/plugins/ In the plugin, you can just put the libraries in a folder, and include them in your main plugin code. Your plugin can then do one of these Register a shortcode … Read more