Publish Admin Message Directly


Home Forums Front End PM PRO Publish Admin Message Directly

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14286
    VITTHAL AMBIKE
    Participant

    Although i have set messages on Admin Approval for publishing it.

    Can still Admin message without approval ?

    #14290
    Shamim Hasan
    Keymaster

    add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'fep_filter_message_before_send', function( $message ){
        if( fep_is_user_admin() ){
            $message['post_status'] = 'publish';
        }
        return $message;
    });
Viewing 2 posts - 1 through 2 (of 2 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.