WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Amazon Link] Remove Amazon Link Affiliate IDs from profile page

[Plugin: Amazon Link] Remove Amazon Link Affiliate IDs from 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: http://wordpress.org/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.
Skip to toolbar