better way to add a plugin

Installation instructions of many WordPress plugin contains recommendation to add something like this to a theme:

<?php tla_ads(); ?> 

Actually, the Right Way is:

<?php if (function_exists(tla_ads)) { tla_ads(); } ?> 

Guess, why.

Leave a Reply