• How does someone remove the update part of a modified plugin?

    I have a plugin that was developed by someone else that I needed to modify.

    How can I prevent it from being updated?

    How and where does the system know to make an update?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think you can stop update notification by placing below code in either functions.php or one of your plugin

    function your_function_name( $value ) {
        //Your plugin main file name
        unset( $value->response['plugin_folder/fileName.php'] );
        return $value;
    }
    add_filter( 'site_transient_update_plugins', 'your_function_name' );
    Thread Starter Outdoorsmen

    (@outdoorsmen)

    Thank you for responding.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing plugin update’ is closed to new replies.