• I’m using Amazon Link and noticed it added the option to add Amazon Link Affiliate ID’s on the profile page. I’m also using Theme my Login and bacause of that, subscribers can also see this option and even add Amazon ID’s trough te frontend of my website. How can I remove the option to add/edit Amazon Link Affiliate ID’s on the profile page?

Viewing 1 replies (of 1 total)
  • Hi,

    I’m going to add this as an option in the next version of the Amazon Link plugin, however in the meantime (if you feel up to it!) you can edit the code to remove the options:

    See this post: https://www.ads-software.com/support/topic/using-localisation?replies=14#post-3430786

    Hi,

    In the file amazon.php in the function admin_menu()

    The last 4 lines add the user_options:

    add_action('show_user_profile', array($this, 'show_user_options') );        // Display User Options
             add_action('edit_user_profile', array($this, 'show_user_options') );        // Display User Options
             add_action('personal_options_update', array($this, 'update_user_options')); // Update User Options
             add_action('edit_user_profile_update', array($this, 'update_user_options'));// Update User Options

    Just comment them out / remove them.

    Paul

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Amazon Link] Remove Amazon Link Affiliate IDs from profile page’ is closed to new replies.