Support

Home Forums WP User Integration Update of Code Snippets

Update of Code Snippets

Posted: December 30, 2016 at 1:29 am


ARAGATO

December 30, 2016 at 1:29 am

Refering to this support post: https://eventespresso.com/topic/upon-registration-create-user-and-store-all-registration-fields-in-user-meta/

I am remove one of the plugin actions and add my modified action regarding to one of your code snippets
https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_ee_process_multi_wpuser_for_attendees.php

However, you recently updated the ee user integration plugin that contains this action.
How do I know if I the specific action has been modifed in the recent patch and how do I know if I have to update that snippet? Do you watch it yourself when updating that specific action?


Tony

  • Support Staff

December 30, 2016 at 3:42 am

It is very unlikely we will remove a hook from Event Espresso (or it’s add-ons), I can’t say we will never do it, but its not something we would do without a very good reason.

Sometimes we will add more data to the hook which then becomes available to the custom functions hooking in if they update the function but the original function will continue to run.

So..

How do I know if I the specific action has been modifed in the recent patch and how do I know if I have to update that snippet?

Your function should continue to run as normal, in your case you are removing a default function and replacing that function with your own so as long as the behavior of your function is the same it should continue to work.

Do you watch it yourself when updating that specific action?

No, we do not.

The snippets we (support) provide are not officially supported, they are workarounds or useful snippets that change the core functions to suit other use cases, we have so many we simply can not test each one with each update (and we should not need to for the reasons above).

We test the core plugin and as mentioned very rarely remove hooks from EE so snippets should usually work as they were intended. If you find that not the be the case if you let us know we are more than happy to investigate our snippet and fix if possible.

The support post ‘Update of Code Snippets’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Status: closed

Updated by  Tony 2 years, 8 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!