Plugin Author
anmari
(@anmari)
I have replied to your email in more detail as some topics cannot be discussed here. Some pages that do talk about this:
https://wpusersplugin.com/3809/format-a-field-as-a-link/
https://wpusersplugin.com/2860/adding-a-link-to-user-list-field/
Hi Anmari,
Thanks for your feedback.
I could reach my goal with the following modifications in the ausers-pluggable.php file, function amr_get_href_link:
…
case ‘edituser’: {
if (current_user_can(‘edit_users’) and is_object($u) and isset ($u->ID) ) {
// Modify url returned
return ( home_url(‘my-user-edit-page?user_id=’.$u->ID));
…
Best,
Olivier
Plugin Author
anmari
(@anmari)
Oliver, be aware that when directly editing code, unless you rename the plugin thus cutting the plugin off from any future updates, your modification will be over written in the next update.
The whole idea with pluggable functions or the use of filters is that you can create them separately say in a site specfic plugin, and the main plugin will then still be updateable.
https://wpusersplugin.com/3284/example-site-specific-add-on-using-filters/
-
This reply was modified 1 month, 1 week ago by
anmari. Reason: add link
OK well noted, I just tested the plugin to add my own functions and everything works fine, thanks!