Cleared wp-cache and file is still not updated [closed]

I found where the problem was. Everything was working correctly, but I was uploading the wrong version of the php file in question.

User error, indeed, but in the process I learned a lot about the WP cache.