Start a conversation

Developers

  • 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...