PaddlePress PRO uses a host domain name for domain-based software licensing and uses the host domain name by default. So, example.com and blog.example.com considered separate WordPress installations by default. But you can use example.com/subsite1 and example.com/subsite2 under the same license key.
Customizing the logic #
If you want to customize the logic behind the domain registration you can use “paddlepress_normalize_domain” filter.
/**
* Let's allow licensing changes here
* This filter allowed to trim eg. subdomain or add subdirectory
* Depends on the licensing approach
*
* @since 1.0
*/
$domain = apply_filters( 'paddlepress_normalize_domain', $domain, $url );
Don’t count development domains #
If you are ignoring localhost URLs, they won’t get counted. Example local development urls:
http://localhost
http://example.test
http://example.local
…. so on