• Resolved Nethub

    (@nethub)


    Hi,

    May I know how to remove “Rollback to v2.7.4” button, I tried below code but not luck.

    function test_remove(){
    	remove_action( 'admin_footer', array( 'Rollback', 'add_footer' ) );
    }
    add_action('admin_init', 'test_remove' );
Viewing 4 replies - 1 through 4 (of 4 total)
  • AC

    (@purplecodes)

    Themeisle Support

    Hi @nethub

    Do you mean to remove the rollback option in the Neve theme?
    Or do you just want to rollback to the previous version?

    Thread Starter Nethub

    (@nethub)

    Yes, I want to remove the rollback option in the Neve theme, thanks.

    Hi @nethub,

    What about just hiding that button with CSS?

    #neve-action-rollback {
     display: none;
    }

    Does this work? Thanks!

    Thread Starter Nethub

    (@nethub)

    Vytis,

    Thanks for your help. Yeah it is my final option. However, if possible I prefer to remove the button by proper code such as remove_action, but I am not sure if there is any way to do so.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove Rollback button?’ is closed to new replies.