bbPress::__clone()

A dummy magic method to prevent Forums from being cloned

Description

Source

File: bp-forums/classes/class-bbpress.php

    public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin\' huh?', 'buddyboss' ), '2.1' ); }

Changelog

Changelog
Version Description
bbPress (r2464) Introduced.

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.