Posted By

jonkemp on 06/25/10


Tagged

php wordpress


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

colingardom
d55beck
josephknight


WordPress Function Exists


 / Published in: PHP
 

Check to see if your function exists in WordPress before calling it. This is standard php code though, so it works outside of WordPress as well.

  1. <?php if(function_exists('my_function')) { my_function(); } ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: on April 26, 2019

How to Fix code error 0x766bc49e Windows for 98/Vista/XP/7/Me/95/2000 Professional/NT 3.1/8.1/10/8/NT Workstation 3.5

You need to login to post a comment.