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_actions()
Setup the actions
Description Description
Source Source
File: includes/common/classes.php
private function setup_actions() { add_action( 'bbp_register_post_types', array( $this, 'register_post_types' ), 10, 2 ); // Register post types add_action( 'bbp_register_taxonomies', array( $this, 'register_taxonomies' ), 10, 2 ); // Register taxonomies add_action( 'bbp_add_rewrite_tags', array( $this, 'add_rewrite_tags' ), 10, 2 ); // Add the rewrite tags add_action( 'bbp_generate_rewrite_rules', array( $this, 'generate_rewrite_rules' ), 10, 2 ); // Generate rewrite rules // Additional actions can be attached here do_action( 'bbp_' . $this->name . 'setup_actions' ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |