SHARE
TWEET

Untitled

a guest Apr 29th, 2010 157 Never
  1. <?php
  2.  
  3. define( 'BPLANG', 'officialmancard' );
  4. if ( file_exists( BP_PLUGIN_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {
  5.     load_textdomain( 'buddypress', BP_PLUGIN_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' );
  6. }
  7.  
  8.  
  9.  
  10. function my_bp_override_core_domain() {
  11. $domain = get_bloginfo('url');
  12. return $domain;
  13. }
  14. add_filter('bp_core_get_root_domain','my_bp_override_core_domain');
  15. ?>
RAW Paste Data
Top