How to detect spelling mistake of template tag?

41 views Asked by At

Does anyone know how to detect spelling mistake of template tag?

For example:

○ <?php the_permalink() ?>
✕ <?php the_premalink() ?>

Thank you!

1

There are 1 answers

0
Shir Gans On BEST ANSWER

Best is to use a good IDE that will contain your whole project. I use PHPStorm which makes this effortless. Highly recommended. It will scan your whole project including Wordpress and will give you hints on each function you wish to put in your code.