Mistakes in your “set_download_labels” function in your Docs
-
Hello. On this page of yours:
https://docs.easydigitaldownloads.com/article/695-modify-the-download-post-type-admin-labels
You’ve (accidentally?) deleted the first three lines of code from your custom function that used to be called “set_download_labels” in your Docs. It used to be a function, now it’s code with no opening function line — and the array used to be an array and now it’s nothing.
Last edit shows Nov 5.
When compared to video (how to), there used to be a first line of “<?php”
…and a second line of “function set_download_labels($labels) {”
…and a third line of “$labels = array( ”
…but those are now gone and the code is no longer functional.I spotted the reason, but how many people won’t?!
Thanks for all you do.
The page I need help with: [log in to see the link]
- The topic ‘Mistakes in your “set_download_labels” function in your Docs’ is closed to new replies.