BP_Group_Extension::setup_class_info()
Set up some basic info about the Extension.
Description
Here we collect the name of the extending class, as well as a ReflectionClass that is used in get_screen_callback() to determine whether your extension overrides certain callback methods.
Source
File: bp-groups/classes/class-bp-group-extension.php
461 462 463 464 465 466 467 468 469 | protected function setup_class_info() { if ( empty ( $this ->class_name ) ) { $this ->class_name = get_class( $this ); } if ( is_null ( $this ->class_reflection ) ) { $this ->class_reflection = new ReflectionClass( $this ->class_name ); } } |
Changelog
Version | Description |
---|---|
BuddyPress 1.8.0 | 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.