What GNU allows
The freely available GPL license gives users the right to use, modify, and copy the provided software . It also gives the right to develop additional software based on the software provided. The GPL license allows you to accept payments for the use of the provided software.
Also, developers who develop new software built on WordPress may not make it available for free, but may charge for their software. However, they must meet the condition that it be licensed under the GPL.