XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jan 1, 2009, 12:08:45 AM (15 years ago)
Author:
toemon
Message:

XOOPSイベント通知の実装 #6
但し現状ではメインコンテンツにイベント通知選択は表示されたない。(ブロックとして表示)

File:
1 edited

Legend:

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

    r51 r61  
    3737add_action("the_content",       "set_post_views_count"); 
    3838 
     39//XOOPS notifiction 
     40require_once dirname( __FILE__ ).'/include/notify_functions.php' ; 
     41add_action("private_to_published",      "onaction_publish_post_notify"); 
     42//      add_action("edit_post", "onaction_edit_post_notify"); 
     43add_action("comment_post",      "onaction_comment_notify"); 
     44//      add_action("approve_comment" , "onaction_comment_apobe_notify"); 
     45add_action("wp_set_comment_status" , "onaction_comment_apobe_notify"); 
     46 
     47 
    3948 
    4049//require_once('../include/custom_functions.php'); 
Note: See TracChangeset for help on using the changeset viewer.