• Resolved cvc1968

    (@cvc1968)


    Featured Products First for WooCommerce is adding its Settings link to EVERY plugin in the plugins list, not just its own.

    at line 335 of the main plugin file you need to change from this:

    
        add_filter(
            'plugin_action_links',
            'wff_settings_plugin_link',
            10,
            2
        );
    

    …to this:

    
        add_filter(
            'plugin_action_links_'plugin_action_links_' . plugin_basename(__FILE__), 
            'wff_settings_plugin_link',
            10,
            2
        );
    

    …so it will only add the it’s links to itself.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin is adding “Settings” to every plugin in list’ is closed to new replies.