Plugin Directory

Safe Function Call

Version: 1.1.5 Safely and easily call functions that may not be available (such as those provided by a plugin that gets deactivated)

Do the functions provided by this plugin capture any error messages generated by the specified function?

No.

Why would I use any of these functions instead of checking if `function_exists()` directly?

The functions provided by this plugin provide a more concise syntax for checking for function existence (using function_exists() under the hood). _sfce() will both echo and return the echoed value, which may be of use in certain circumstances. And also, since the name of the function to be safely called is passed as an argument, it can be easily and more concisely be parameterized.

Requires: 1.5 or higher
Compatible up to: 3.3.2
Last Updated: 2011-7-15
Downloads: 493

Average Rating

3 stars
(2 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1