Hide the archive


Home Forums Front End PM PRO Hide the archive

This topic is: Not Resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41638
    wiktorgrybos
    Participant

    Hi.

    I deleted function “add to archive”:

    add_filter( 'fep_message_table_bulk_actions', function( $actions ){
    	unset( $actions['archive'] );
    	return $actions;
    });
    

    Now user can’t give message to archive, but can display empty archive.
    And my problem is that i don’t know how to hide archive on the right dropdown menu.
    And second question. Is there function to take message from archive to inbox?

    Thanks in advance!

    #41642
    shamim
    Keymaster

    Can you please give me screenshot which is not hidden yet?
    Also when messages are archived, you can restore them (use same dropdown where it shows restore).

    #41644
    wiktorgrybos
    Participant
    This reply has been marked as private.
    #41647
    shamim
    Keymaster

    Please use following code as well

    add_filter( 'fep_message_table_filters', function( $filters ){
    	unset( $filters['archive'] );
    	return $filters;
    });
    
Viewing 4 posts - 1 through 4 (of 4 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.