| name | language | licence |
|---|---|---|
| Attachment display | PHP | Other |
| function_exists() | PHP | Other |
| Linking Without Using Permalinks | PHP | Other |
| Static Page with Mini-Loop | PHP | Other |
| comments | PHP | GPL 2 |
| read me | PHP | Other |
| style | CSS | GPL 2 |
| SEO friendly title | PHP | BSD |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >
language: PHP
licence: Other
function_exists()
options: view full snippet • send to code collector
To detect if a plugin is installed, you can use a simple function_exists() check. The if (function_exists()) checks for tThe plugin, and if it exists, it will use it. If it returns FALSE or "not found", it will ignore the plugin tag and continue loading the page.
<?php
if (function_exists('FUNCTION NAME')) {
FUNCTION_NAME();
}
?>



library
buttons (3)
wp (93)