You put options in wrong place, move it out and it should work.
module.exports = function (grunt) {
return {
init: {
files: [{
cwd: 'init/php/templates',
src: '<%= init.php.templates %>',
dest: 'src/php/templates',
expand: true
}, {
cwd: 'init/php/includes',
src: '<%= init.php.includes %>',
dest: 'src/php/includes',
expand: true
}, {
cwd: 'init/js',
src: '<%= init.scripts %>',
dest: 'src/js',
expand: true
}, {
cwd: 'init/css',
src: 'style.css',
dest: 'src/css',
expand: true
}],
options: {
process: function (content, srcpath) {
return grunt.template.process(content);
}
}
}
}
};
Updated to suit to load-grunt-config