XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jan 30, 2009, 1:21:43 PM (16 years ago)
Author:
toemon
Message:

ユーザ同期処理をxpressmeプラグイン側に移し、WordPress側からのユーザ追加・変更に対応させる

Location:
trunk/wp-content/plugins/xpressme
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/xpressme.php

    r71 r72  
    4646add_action("wp_set_comment_status" , "onaction_comment_apobe_notify"); 
    4747 
    48  
    49  
     48// user data sync  user_sync_to_xoops($user_id) 
     49require_once dirname( __FILE__ ).'/include/user_sync_xoops.php' ; 
     50add_action('profile_update', 'user_sync_to_xoops'); 
     51add_action('user_register', 'user_sync_to_xoops'); 
    5052//require_once('../include/custom_functions.php'); 
    5153?> 
Note: See TracChangeset for help on using the changeset viewer.