Start typing to search...

How to set the downloads count and upload date manually

Although this information is generated automatically when the download is configured, there might be cases when you want to adjust this manually.

Instead of having to edit your database directly and adjust the information there, you can enable two extra fields when adding a download through a small filter added to your theme’s functions.php file.

The filter in question is:

PHP
add_filter( 'dlm_show_version_extra_fields', '__return_true' );

After adding this, you will have the fields available when configuring your download.

Was this page helpful?
0 0
AI Assistant

Hi, how can I help?

Try asking about