bbp_toggle_topic_action_admin

bbp_toggle_topic_action_admin

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_toggle_topic_action_admin') is found 1 times:

  • /includes/admin/topics.php line 662
    			$retval['failed'] = '1';
    		}
    
    		// Filter all message args
    		$retval = apply_filters( 'bbp_toggle_topic_action_admin', $retval, $topic_id, $action );
    
    		// Do additional topic toggle actions (admin side)
    		do_action( 'bbp_toggle_topic_admin', $success, $post_data, $action, $retval );
    
    		// Redirect back to the topic
    		$redirect = add_query_arg( $retval, remove_query_arg( array( 'action', 'topic_id' ) ) );