Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Template:Pluggable Deprecated

Use {{Pluggable_Deprecated}} to show that a specific pluggable function is deprecated.

It will look like this:


This pluggable function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/pluggable-deprecated.php. Use any of these functions instead.

If you want to specify WHICH function to use this instead: {{Pluggable_Deprecated|new_function=get_user_by}}


This pluggable function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/pluggable-deprecated.php. Use get_user_by instead.

If you want to specify the version in which the function was deprecated, you can do it like this: {{Pluggable_Deprecated|new_function=get_user_by|version=3.0}}


This pluggable function has been deprecated since Version 3.0. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/pluggable-deprecated.php. Use get_user_by instead.