create_function php deprecated 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;}