Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1096871

    Just thought I’d share this snippit, which removes the plugin update nag in the WordPress admin for the bundled LayerSlider plugin, as we need to wait for each Enfold release for this plugin to be updated. It should be placed in the functions.php file of the child theme, so it doesn’t get overwritten when updating the theme (*take a backup of the file before making changes):

    
    //Remove layerslider update nag
    function filter_plugin_updates( $value ) {
        unset( $value->response['full/path/to/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php'] );
        return $value;
    }
    add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );
    

    where full/path/to is adjusted to suit your full server path to the layerslider.php file.

    #1097099

    Hey Barnez1,

    Thanks for the update, so you managed to solve your problem?

    Best regards,
    Rikard

    #1097172

    Hey Rikard,
    Yes, this is fixed.
    Best regards,
    Damian

    #1097410

    Hi Damian,

    Great, I’m glad that you got it working and thanks for the update. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Remove the update nag for LayerSlider plugin bundled with Enfold [Fixed]’ is closed to new replies.