bbp_is_reply_move()
Check if current page is a reply move page
Description
Return
(bool) True if it's the reply move page, false if not
Source
File: bp-forums/common/template.php
521 522 523 524 525 526 527 528 529 530 531 | function bbp_is_reply_move() { // Assume false $retval = false; // Check reply edit and GET params if ( bbp_is_reply_edit() && ! empty ( $_GET [ 'action' ] ) && ( 'move' === $_GET [ 'action' ] ) ) $retval = true; return (bool) apply_filters( 'bbp_is_reply_move' , $retval ); } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.