/loader.php

  1. <?php 
  2. /** 
  3. Plugin Name: BP Profile Message UX 
  4. Description: A BuddyPress plugin. Replaces the functionality for Public and Private buttons so that you stay on a profile page when sending.  
  5. Author: shanebp 
  6. License: GPLv2  
  7. Author URI: http://philogames.com/contact 
  8. Version: 1.3 
  9. */ 
  10.  
  11. if ( !defined( 'ABSPATH' ) ) exit;  
  12.  
  13. define( 'BP_PROFILE_MESSAGE_UX', '1.3' ); 
  14.  
  15. function bp_profile_message_ux_init() { 
  16. require( dirname( __FILE__ ) . '/bp-profile-message-ux.php' ); 
  17. load_plugin_textdomain( 'bp-profile-message-ux', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );  
  18. add_action( 'bp_init', 'bp_profile_message_ux_init' ); 
  19.  
  20. ?> 
.