bbp_is_reply_move()

Check if current page is a reply move page


Description Description


Return Return

(bool) True if it's the reply move page, false if not


Top ↑

Source Source

File: includes/common/template.php

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;
	}

	// Filter & return
	return (bool) apply_filters( 'bbp_is_reply_move', $retval );
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.