BP_Integration::start( $id = '', $name = '', $path = '', $params = array() )
Description
Source
File: bp-core/classes/class-bp-integration.php
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | public function start( $id = '' , $name = '' , $path = '' , $params = array () ) { // Internal identifier of integration. $this ->id = $id ; // Internal integration name. $this ->name = $name ; // Path for includes. $this ->path = trailingslashit( buddypress()->integration_dir ) . $path ; $this ->url = trailingslashit( buddypress()->integration_url ) . $path ; if ( $params ) { if ( isset( $params [ 'required_plugin' ] ) ) { $this ->required_plugin = $params [ 'required_plugin' ]; } } $this ->setup_actions(); } |
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.