Some changes to adapt to the WordPress conventions

Signed-off-by: Carlos <carlos@doofinder.com>