WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Safe Function Call

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 using `function_exists()`/`method_exists()` directly?

The functions provided by this plugin provide a more concise syntax for checking for function existence (but it does use function_exists()/method_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 callback to be safely called is passed as an argument, it can be easily and more concisely parameterized.

Does this plugin include unit tests?

Yes.

Requires: 1.5 or higher
Compatible up to: 4.0
Last Updated: 2014-8-26
Downloads: 1,043

Ratings

3 stars
3.5 out of 5 stars

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