Custom Content Dashboard Widget Code

Hi,

I can’t seem to get it to work.

Your code:

file_put_contents($contents_file, '<!--- custom content goes here ---> Test');

My code:

file_put_contents($contents_file, 'My content for the dashboard');

What am I doing wrong?

Thanks!