How to check if the plugin exists

Posted by

How to check if the plugin exists :

Use the following code to check if the plugin exists or not:

<?php
if (function_exists('FUNCTION NAME')) {
  FUNCTION_NAME();
}
?>
For example :
<?php
if (function_exists('jal_get_shoutbox')) {
  jal_get_shoutbox();
}
?>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.