Support » Plugin: cformsII » What happens with my_cforms_action

  • Resolved mafsdisseny

    (@capiedge)


    Hello, first of all, thanks for your work keeping alive this plugin!

    What happens with the function my_cforms_action deprecated since 14.14, can you guide me in how to get the same as I got when triggering it? Is there a similar hook or filter to trigger the action?

    I has some custom actions embedded in this action (my_cforms_action), and obviously since 14.14 they are not working… Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bgermann

    (@bgermann)

    Please use the cforms2_after_processing_action. On how to use WordPress actions, see: https://developer.wordpress.org/plugins/hooks/actions/

    Thread Starter mafsdisseny

    (@capiedge)

    Oh great!

    I suggest you to add this information in the error message, replacing:
    trigger_error(‘my_cforms_action is useless since cformsII version 14.14.’, E_USER_DEPRECATED);
    by
    trigger_error(‘my_cforms_action is useless since cformsII version 14.14. You can use cforms2_after_processing_action instead’, E_USER_DEPRECATED);

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What happens with my_cforms_action’ is closed to new replies.