How to use deprecated function in PHP code example
Example: PHP Deprecated: Function create_function()
//From
create_function( '$caps', "return '$caps';" );
//To
function($caps) {return $caps;}
//From
create_function( '$caps', "return '$caps';" );
//To
function($caps) {return $caps;}