Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BBP_Component::setup_globals( $args = array() )
Component global variables
Description Description
Source Source
File: includes/common/classes.php
private function setup_globals( $args = array() ) { $this->name = $args['name']; $this->id = apply_filters( 'bbp_' . $this->name . '_id', $args['id'] ); $this->slug = apply_filters( 'bbp_' . $this->name . '_slug', $args['slug'] ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |