Start a conversation

Developers

  • User select dropdown filter

    If you want to change the dropdown of the user selector to something other then email then use this function....

  • How to make CDM work with a custom page builder

    Sometimes the shortcode won't work in your custom page builder or a custom solution you have with templates. That is due to the scripts not loading on your page, we made sure scripts only show up docu...

  • Do something after file upload

    If you need to process the file after upload you can use this hook. do_action('sp_cdm_after_file_upload',$target_path,$uid);...

  • Do something after file insert

    If you need to process the file after inset you can use this hook. do_action('sp_cdm_after_file_insert',$a, $file_id ,$post);...

  • Overiding the default css

    Here is how you can overide the default css Add the following to your functions.php in your theme and upload a file called cdm.css this file will load after all the CDM style files allowing you to ove...

  • Change email headers

    Sometimes you need to over-ride the “From” address or add additional email headers into cdm emails. You can do that with this filter...

  • Change admin email

    If you need to change the admin email from the default wordpress email you can do so with this filter Minimum version: 3.1.7.7...

  • Trigger an email after a user downloads af ile

    Recently we were asked how you can trigger an email after downloading of a file. This is how you do it, the below function adds a new email section in settings and the trigger fires off the email once...

  • Change any icon

    If you would like to use your own icon in client document manager you can use the filter sp_cdm_viewfile_image Here is an example function on how to switch out the pdf icon...