Advertisement
phpface

Untitled

Dec 15th, 2022 (edited)
943
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1.             } else {
  2.                 $chat_id = Better_Messages()->functions->get_thread_meta($thread_id, 'chat_id');
  3.  
  4.                 if ( ! empty( $chat_id ) && get_post_type( $chat_id ) === 'bpbm-chat' ) {
  5.  
  6.                     /**
  7.                      *
  8.                      *
  9.                      * COULD YOU ADD A FILTER HOOK HERE?
  10.                      *
  11.                      *
  12.                      */
  13.  
  14.                     $thread_type = 'chat-room';
  15.                 }
  16.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement