' ) ) require( dirname( __FILE__ ) . '/includes/bp-example-loader.php' ); } add_action( 'bp_include', 'bp_example_init' ); /* Put setup procedures to be run when the plugin is activated in the following function */ function bp_example_activate() { } register_activation_hook( __FILE__, 'bp_example_activate' ); /* On deacativation, clean up anything your component has added. */ function bp_example_deactivate() { /* You might want to delete any options or tables that your component created. */ } register_deactivation_hook( __FILE__, 'bp_example_deactivate' ); ?>