BP_Group_Extension::setup_class_info()

Set up some basic info about the Extension.


Description 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 Source

File: bp-groups/classes/class-bp-group-extension.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
1.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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