Replies: 5 comments 7 replies
-
You can pass a priority to the filter. See YOURLS/includes/functions-plugins.php Line 92 in 8c66db0 |
Beta Was this translation helpful? Give feedback.
-
If I change the filter in However, the appended URL is not being passed to |
Beta Was this translation helpful? Give feedback.
-
Great info to have. Thanks! But my problem right now is getting the load order correct. I think that may be the source of my other problems. How do you force one plugin to always load before another one? |
Beta Was this translation helpful? Give feedback.
-
OK, that makes sense since the load order did change after I made them both use the same action as I mentioned above. But I didn't think it was working since the output from
|
Beta Was this translation helpful? Give feedback.
-
I'm sorry, but I don't know what you're trying to say. I thought I had the priorities set correctly. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get my email-notify plugin to work with the append-qs plugin however the two don't play well together (they work well separately, though).
The email-notify plugin appears to be triggered first, and so never sees the appended querystring. It uses
yourls_add_action('pre_redirect', 's22_email_notification');
to call the function.
append-qs is using
yourls_add_filter('redirect_location', 'append_qs_redirect');
to call it's function.
How can I get Yourls to call
append-qs
first and then pass it's output toemail-notify
? I can't find documentation that states the calling order of filters and actions and how they work together.Thanks,
Marc
Beta Was this translation helpful? Give feedback.
All reactions