How can I echo multiple tasks if a common WordPress function exists.
For example, I want to reduce the following:
<?php if (function_exists ('pluginName')) echo someName (1); ?>
<?php if (function_exists ('pluginName')) echo someName (2); ?>
<?php if (function_exists ('pluginName')) echo someName (3); ?>
<?php if (function_exists ('pluginName')) echo someName (4); ?>
into a single query like this:
<?php if (function_exists ('pluginName')) echo someName (1); someName (2); someName (3); someName (4); ?>
What is the right way to do it?